#include<stdio.h> #include<math.h> double f(double x){ return x*x*x-8*x-4; } double df(double x){ return 3*x*x-8; } double rootNR(double …
#include<stdio.h> #include<conio.h> #include<math.h> #define f(x) (x*x*x) - x -4 int main() { float x0, x1, x2, f0, f1, f2, …
#include <stdio.h> #define A 0 #define B 1 #define C 2 #define MAX_NODES 1000 #define O 1000000000 int n; int e=0; int capacity[MAX_NODES][…
#include<stdio.h> float f(float x) { return (1/(1+x)); } main() { int i,n; float a,b,h,s=0,x,y[100…
#include<stdio.h> float fun(float x,float y) { float f; f=x+y; return f; } main() { float a,b,x,y,h,t,k; …
#include<stdio.h> #include<conio.h> float f(float x) { return(1/(1+x*x));; } void main() { int i,n; float x0,xn,h,y[2000…
#include<stdio.h> #include<conio.h> #include<math.h> float f(float x) { return(1/(1+pow(x,2))); } void main() { int i,n; …