No f *** i n g idea! Maybe if you used your HEAD you'd know! Dumb B@#$%!
That's a method used for numerical integration, i.e. for an approximate calculation of definite integrals.
If x (F)14b (K)89b (U)6, then n (A)20n (B)18n (U)45, obviously.
/*mycfiles.wordpress.com To Calculate Sum & Average of 4 no.*/ #include<stdio.h> #include<conio.h> void main() { float a,b,c,d,sum,avg; clrscr(); printf("Enter the 4 nos.\n\n"); scanf("%f%f%f%f",&a,&b,&c,&d); sum=a+b+c+d; avg=(a+b+c+d)/4; printf("\nSum is= %f\nAverage is= %f",sum,avg); getch(); }
#include<stdio.h> #include<math.h> main() { float A,a,b,c,s; printf("entr the value of a,b and c"); scanf("%f %f %f",&a,&b,&c); A=sqrt(s*s-a*s-b*s-c) printf("area of the triangle %f\n"A); getch(); }
#include<stdio.h> #include<conio.h> int main(void) { float a,b,c=0, d=0, e=0,f=0; printf("Please enter two numbers:\n"); scanf("%f %f", &a, &b); c=a+b; d=a-b; e=a*b; f=a/b; printf("The sum of %f and %f is :%f\n", a,b,c); printf("The subtraction of %f and %f is :%f\n", a,b,d); printf("The multiplication of %f and %f is :%f\n", a,b,e); printf("The division of %f by %f is :%f\n",a,b,f); getch(); }
ITS EASY...TRY THIS OUT..TRAPEZOIDAL METHOD#include#include#includefloat valcal(float x){return (x*x*x);}int main(){float a,b,h,c,I;int n,i;printf("THE TRAPEZOIDAL RULE:\n");printf("---------------------");printf("\n\n\nEnter the two limits and the no. of divisions:\n");scanf("%f %f %d",&a, &b, &n);h=(b-a)/n;//printf("\nVALUE of h: %f\n", h);c=a;I=valcal(a)+valcal(b);//printf("\nVALUE FOR a: %f\n", valcal(a));//printf("\nVALUE FOR b: %f\n", valcal(b));for(i=1;i=b){printf("\n\nc>b\n\n");break;}//printf("\nVALUE FOR %f: is %f\n",c, valcal(c));I=I+(2*valcal(c));//printf("\nI right now is %f", I);}printf("\n\n\nThe integration of x*x*x is: %f",(h*I)/2);printf("\n\n\n");system("pause");}SIMPSON'S 1/3RD METHOD#include#include#includefloat valcal(float x){return (1/(1+x*x));}int main(){float a,b,h,c,I;int n,i;printf("THE SIMPSON'S ONE-THIRD RULE:\n");printf("------------------------------");printf("\n\n\nEnter the two limits and the no. of divisions:\n");scanf("%f %f %d",&a, &b, &n);h=(b-a)/n;//printf("\nVALUE of h: %f\n", h);c=a;I=valcal(a)+valcal(b);//printf("\nVALUE FOR a: %f\n", valcal(a));//printf("\nVALUE FOR b: %f\n", valcal(b));for(i=1;ib){printf("\n\nc>b\n\n");break;}//printf("\nVALUE FOR %f: is %f\n",c, valcal(c));if(i%2==0)I=I+(2*valcal(c));elseI=I+4*valcal(c);//printf("\nI right now is %f", I);}printf("\n\n\nThe integration of x*x*x is: %f",(h*I)/3);printf("\n\n\n");system("pause");}NEED MORE HELP...MAIL ME YOUR PROB... SEE YA
According to SOWPODS (the combination of Scrabble dictionaries used around the world) there are 2 words with the pattern B---F-N. That is, seven letter words with 1st letter B and 5th letter F and 7th letter N. In alphabetical order, they are: beaufin bluefin
According to SOWPODS (the combination of Scrabble dictionaries used around the world) there are 1 words with the pattern --B-F-N. That is, seven letter words with 3rd letter B and 5th letter F and 7th letter N. In alphabetical order, they are: lobefin
According to SOWPODS (the combination of Scrabble dictionaries used around the world) there are 2 words with the pattern --F-B--N-. That is, nine letter words with 3rd letter F and 5th letter B and 8th letter N. In alphabetical order, they are: infobahns softbound
According to SOWPODS (the combination of Scrabble dictionaries used around the world) there are 1 words with the pattern F--B----N. That is, nine letter words with 1st letter F and 4th letter B and 9th letter N. In alphabetical order, they are: forbidden
According to SOWPODS (the combination of Scrabble dictionaries used around the world) there are 2 words with the pattern F-B---N-. That is, eight letter words with 1st letter F and 3rd letter B and 7th letter N. In alphabetical order, they are: fibranne fibroins
According to SOWPODS (the combination of Scrabble dictionaries used around the world) there are 1 words with the pattern B-N-FF-. That is, seven letter words with 1st letter B and 3rd letter N and 5th letter F and 6th letter F. In alphabetical order, they are: banoffi
According to SOWPODS (the combination of Scrabble dictionaries used around the world) there are 4 words with the pattern F--B-N-. That is, seven letter words with 1st letter F and 4th letter B and 6th letter N. In alphabetical order, they are: fibbing flybane fobbing fubbing
According to SOWPODS (the combination of Scrabble dictionaries used around the world) there are 3 words with the pattern -N--F-B--. That is, nine letter words with 2nd letter N and 5th letter F and 7th letter B. In alphabetical order, they are: ineffable ineffably sniffable
According to SOWPODS (the combination of Scrabble dictionaries used around the world) there are 3 words with the pattern F---B-N--. That is, nine letter words with 1st letter F and 5th letter B and 7th letter N. In alphabetical order, they are: fahlbands fishbones fleabanes
∫ f'(x)(af(x) + b)n dx = (af(x) + b)n + 1/[a(n + 1)] + C C is the constant of integration.