Answer:
24
Step-by-step explanation:
Answer:
total = 0;
for (k = 0; k <= n; k++)
total += Math.pow(k,3);
Step-by-step explanation:
Here the variable total is declared and initialized with a value zero
Then a for loop is defined with a counter k whose initial value is set to zero then a condition for the loop is that the counter k does not exceed n k<=n and then within the loop a statement which add the cube of the counter k to the variable total and still assigns it to the variable total is defined
total += Math.pow(k,3);
What this program does is to obtain the sum of the cubes of k
Answer:
Yes there is enough.
Step-by-step explanation:
There is 992 computers, you divide 992 by 90 (90 schools) and you would get 11. There would 11 computers for each school.
Answer:
x1=5/2+i
x2=5/2-i
Step-by-step explanation:
x^2-5x+7=0
a=1, b=-5, c=7
x1=(-b+sqrt(b^2-4ac))/2a
x1=(-(-5)+sqrt(5^2 - 4*1*7))/2
x1=(5+sqrt(25-28))/2
x1=(5+sqrt(-4))/2
x1=(5+sqrt(4i^2))/2
x1=(5+2i)/2
x1=5/2+i
x2=(-b-sqrt(b^2-4ac))/2a
x2=(5-2i)/2
x2=5/2-iw