2=w
a^2 + b^2=c^2
36
int a = 1; int b = 2; int c = a + b; // Sum
You add 2 fractions with the same denominator [c], so the sum is the sum of the numerators divided by the denominator: a/c + b/c = (a+b)/c
7 * (c + 2) = 7 * c + 14
(c+4)/2
In Java:sum = 0;for (i = 2; i
To solve for the sum of the first n number of cubes, use (1+2+3+4+5...+n)2. So for n=100, (1+2+3+4+5...+100)2 = c (cubes) (101 * 50)2 = c 50502 = c c = 25502500
int i, sum = 0; for (i=0; i<20; i+=2) sum+=i;
The expression can be written as (2 + c)/2 - 6b.
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.
1.Start 2. Input a,b,c 3. Sum = a+b+c 4. Average = sum/3 5. Output - Sum,Average 6. Stop