Friday, September 13, 2013

What is the sum (100+k), if k goes from 1 to 100?

We have to find the value of Sum(100 + k), for k = 1 to
100


Sum(100 + k), k = 1 to
100


=> 100*100 + Sum(k), k = 1 to
100


The sum of the numbers from 1 to n is given by n*(n +
1)/2


=> 100*100 +
100*101/2


=> 10000 +
5050


=>
15050


The required sum is
15050.

No comments:

Post a Comment

What accomplishments did Bill Clinton have as president?

Of course, Bill Clinton's presidency will be most clearly remembered for the fact that he was only the second president ever...