{ int a,b; { a=a^2; } { b=b^2; } { c=a^2+b^2+2*a*b; print f("%d%d%d",&c); get ch(); } ]
#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
Unconditional statements are statements that are invoked unconditionally. Conditional statements have a controlling expression, while unconditional statements do not. For example: void f (bool b) { if (b==true) do_something(); // conditional statement (controlled by the expression b==true) do_something_else(); // unconditional (executes regardless of b's value) }
FILE* fopen(<filename>, <mode>); E.g., FILE* f = fopen("C:\\Users\\<user_name>\\My Documents\\data_file.dat", "rb"); Opens the specified file for reading ("r") in binary mode ("b").
f = B x C
if f :- a+b = ac then fd:- a.b = a+c
∫ f(x)/[(f(x) + b)(f(x) + c)] dx = [b/(b - c)] ∫ 1/(f(x) + b) dx - [c/(b - c)] ∫ 1/(f(x) + c) dx b ≠c
yes
Z if d is equally to f plus10
31
C and D
My heart is pierced by cupid - A B C E E F I disdain all glittering gold - C B A A B B C There is nothing can console me - A B C A A F F E But my jolly sailor bold - E E A G(minor) B G(minor) A
Your question is not clear. Please give the formula to calculate the value of x and the condition at which the line cuts the circle
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---
F = 9/5 C + 32 = (9/5) x 10 + 32 = 18 + 32 = 50
ex+f = c -dx ex+dx = c -f x(e+d) = c -f x = c -f/(e+d)