Ask Question
29 December, 23:05

Whats the sum of all even numbers between 2 and 1000

+2
Answers (2)
  1. 29 December, 23:10
    0
    Answer is: 250500

    x=0y=0

    while (x<=1000) : y + = x x + = 2

    print (y)
  2. 29 December, 23:10
    0
    His allows you to set up a summation of the form:

    Summation from i = 1 to 500 of i.

    The general solution to the summation of i from 1 to n is n (n+1) / 2. In this case, n = 500.

    500 (501) / 2 = 125250

    Recall that you divided the sum by 2 to simplify its computation. Now multiply your result by 2 for your final answer:

    125250 * 2 = 250500
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Whats the sum of all even numbers between 2 and 1000 ...” in 📗 Mathematics if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers