what is the full meaning of N.N.P.C.?
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
Given an integer n, an integer f is a fraction of n if f goes into n evenly. That is, n/f is an integer or n = f*x for some integer x.m is a multiple of n if m = n*c for some integer c.
#include<stdio.h> #include<conio.h> #include<math.h> float f(float x) { float y; if(x!=0) //y=sin(x)-log(x)+exp(x); y=1/(1+x); else printf("answer can not be derived"); return(y); } float g(float x) { float k; k=(-2)/(pow((1+x),3)); return(k); } void main() { float i,n,k,z,s=0,err=0; float h,x,a[100],b,c; clrscr(); printf("\n enter the range of the integration"); scanf("%f%f",&b,&c); printf("\n enter n so to divide the range into n parts"); scanf("%f",&n); h=(c-b)/n; printf("\n\n%f",h); k=(f(b)+f(c)); printf("\nk=%f\n\n",k); for(i=b+h;i<c;i+=h) { z+=f(i); printf("\n%f",z); } s=(h*(k+2*z))/2; printf("\n\n the value of the integration=%f\n\n",s); for(i=b;i<=c;i+=h) err+=g(i); err=(err*(pow(h,3)))/12; printf("\n\n approximate error= %f\n\n",err); getch(); }here...
0°C = 32°F. Both indicate the temperature at which, under standard conditions, water freezes. Similarly, 100°C = 212°F, both indicating the temperature at which, under standard conditions, water boils. To convert n°C to Fahrenheit, n°C = [ 32 + (9/5) X n ]°F. To convert n°F to centigrade, n°F = [ (n - 32) X (5/9) ]°C.
C Program to find factorial of a numberSimple C Programint main() {int n,i,f=1;printf("enter any num \n");scanf("%d",&n);for(i=1;i
T| Capitals on the notes signify sharps (the black keys) A| B| Also see my Alicia Keys tab of the Empire State of Mind 2 for the chords! N| PEACE! A| ~Steph~ B| B| E| R5|F-F-F----- R| R4|F-F-F----- .| L3|F-F-F-F--- C| L3|----C----- O| L2|b-b---F--- M| -| R6|F-F-F---F---F---F-F-F--- T| R6|C-C-C---C---C---C-C-C--- A| R5|A-A-A---A---A---A-A-A--- B| N| L3|F-f----- A| L3|C-C----- B| L2|----b--- B| L2|----F--- E| L1|----b--- R| .| R6|F-F-F---F---F---F-F-F--- C| R6|C-C-C---C---C---C-C-C--- O| R5|A-A-A---A---A---A-A-A--- M| -| L3|F-F-F--- T| L3|--C----- A| L2|b---F--- B| N| R6|F-F-F---F---F---F-F-F--- A| R6|C-C-C---C---C---C-C-C--- B| R5|A-A-A---A---A---A-A-A--- B| E| L3|F-f----- R| L3|C-C----- .| L2|----b--- C| L2|----F--- O| L1|----b---
#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(); }
Program in CHere is a program in C to calculate mean variance and standard deviation: #include#includevoid main(){float a[50],sum=0,vsum=0,mean,variance,sd;int n,i;printf("Enter the no of valus");scanf("%d",&n);printf("Enter the no of valus");for(i=0;i
If we count 10 as 1 & 0, 11 as 1 & 1 and 12 as 1 & 2, then there are fifteen individual 'numbers' on the face of a standard clock. So, 15 N on a C F = 15 Numbers on a Clock Face
With the letters o-f-i-o-f-y-o-u-n-o-c-s-n, you can make these words:3 letter wordsion, noo, off, yon, fin, fun, fon, you, fou, foy, yin4 letter wordsyoni, info, foin, iffy5 letter wordsunify
According to SOWPODS (the combination of Scrabble dictionaries used around the world) there are 3 words with the pattern --N-F-C. That is, seven letter words with 3rd letter N and 5th letter F and 7th letter C. In alphabetical order, they are: benefic omnific venefic
According to SOWPODS (the combination of Scrabble dictionaries used around the world) there are 3 words with the pattern F---C-N-. That is, eight letter words with 1st letter F and 5th letter C and 7th letter N. In alphabetical order, they are: fleecing floccing folacins