Develop and C-Code that numerically integrates the following func.pdf
Próximo SlideShare
 does anyone have any project management experience does anyone.pdf does anyone have any project management experience does anyone.pdf
Cargando en ... 3
1 de 1

Más contenido relacionado

Más de akashcommunication(20)

Develop and C-Code that numerically integrates the following func.pdf

  1. Develop and C-Code that numerically integrates the following function, integrate using TRAPEZOIDAL rule. Solution #include #include double f(double x); void main() { int i,n; double x0,xn,h,I; printf("enter value of x0,xn"); scanf("%lf%lf",&x0,&xn); printf("enter the value of h"); scanf("%lf",&h); n=(xn-x0)/h; I=f(x0)+f(xn); for(i=0;i= 0 && x <=5) { return (pow(x,3)-0.23x+30.67); } else { return(pow(e,7x)*cos(0.3 *pi*x)); } }