1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
abruzzese [7]
3 years ago
5

Use two variables k and total to write a for loop to compute the sum of the squares of the first 50 counting numbers, and store

this value in total. thus, your code should put 1*1 2*2 3*3 ... 49*49 50*50 into total. use no variables other than k and total.
Mathematics
1 answer:
ohaa [14]3 years ago
8 0
I think the question means to "accumulate" or "sum" the individual squares in total.   "Store" in computer terms usually means overwriting what's already in total.

With the sens of "summing" or "accumulating", this is one way how it can be coded:

int total=0;
for k=1 to 50 {
    total+=k^2;
};
print(total);
You might be interested in
2. How many solutions does each equation
lakkis [162]

Answer:

2 solution

answer is -c=0 or 0=c

10+3c-2=4c-c+8

3c-4c-c=8-10-2

-c=0

0=c

7 0
3 years ago
If s(x) = x – 7 and t(x) = 4x2 – x + 3, which expression is equivalent to (t*s)(x) ?
Inessa05 [86]
Hello,

(t*s)(x)=t(x)*s(x)=(4x²-x+3)*(x-7)

Answer D
8 0
3 years ago
Read 2 more answers
Please help it's due i will give brainly
Alinara [238K]

Answer: 1) You forgot to change the sign over there. You have to subtract over there.

2) Just be careful while solving equations while changing the signs

5 0
3 years ago
PLEASE HELP ME ( MULTIPLE CHOICE)!!
Anton [14]

Answer:

D

Step-by-step explanation:

an undefined slope has the same x value no matter what y value it has, therefore, D

(please rate and thank)

4 0
3 years ago
Use a calculator to find the trigonometric ratio to four decima place tan 23​
Aneli [31]

Answer:

=0.4245 (4dp)

Step-by-step explanation:

tan(23)=0.4244748162

=0.4245 (4dp)

I hope this helps!

4 0
3 years ago
Other questions:
  • Is 34.49 rational or irrational
    15·1 answer
  • What is x(b+7)=9 when u solve for x
    10·1 answer
  • Given f(x) and g(x) = f(x + k), use the graph to determine the value of k.
    10·2 answers
  • 25 POINTS NO CAP PLEASE HELP ME NEED RIGHT ANSWER
    10·2 answers
  • Please answer my question as soon as possible​
    15·1 answer
  • PLS HELP THXXXXXX ONLY ANSWER IF KNOWN
    5·1 answer
  • Which expression is equivalent to "28 divided by the difference 45 and 710"
    7·1 answer
  • The slope of a line is -, and the y-intercept is 10/3. What is the equation of the line written in general form?
    7·1 answer
  • Find the ordered pair of both 4x-3y=6 and 6x + y =42
    12·1 answer
  • Simplify: 213 base five + 1111 base five​
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!