It is: 4(12+b) which is the same as 48+4b
/*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(); }
jjj
h = 4 and 8 +4=12
1.Start 2. Input a,b,c 3. Sum = a+b+c 4. Average = sum/3 5. Output - Sum,Average 6. Stop
int mul (int a, int b) { int sum= 0; for (; b>0; --b) sum -= -a; for (; b<0; ++b) sum -= a; return sum; }
4(2a+b) + 2(6a+2b) Working this out it is: 8a + 4b + 12a + 4b = 20a + 8b or 4(5a+2b).
This problems requires you to solve using simultaneous equations. EQUATIONS: a + b = 4 a = 4 - b CALCULATE b: a * b = 15/4 = 3.75 b = 3.75/a b = 3.75/4-b b * (b4-4) = 3.75 b2 * 4b = 3.75 (b * 4)2 = 3.75 b * 4 = SQRT(3.75) b = SQRT(3.75)/4 b = 0.484122918275927 CALCULATE a: a = 4 - .484122918275927 a = 3.51587708172407 PROOF: a + b = 4 3.51587708172407 + 0.484122918275927 = 4
The sum of is the total of everything being summed; the sum total. Thus the sum of a, b and c is therefore a + b + c.
"the same as the others added together" For example: a=b+c+d a is equal to the sum of b plus c plus d. 9=2+3+4
To find the sum of two vectors, you add their corresponding components together. For example, if you have two vectors A = (3, 5) and B = (2, -1), the sum would be A + B = (3 + 2, 5 + (-1)) = (5, 4).
The sum of b and 8 would be written b+8 or 8+b(commutative property of addition)