Ifaequals the sum of the even integers from 2 to 20, inclusive, andbequals the sum of the odd ...

Ifaequals the sum of the even integers from 2 to 20, inclusive, andbequals the sum of the odd integers from 1 to 19, inclusive, what is the value of (a - b)/2 ?

Quiz

Answer/Solution

5

Steps/Work

Answer is 10
Yes! there is really a faster way to solve it.
Sum of consecutive odd or even integers = (no. of odd or even ints) * (first int + last int) / 2
Here A = sum of even ints from 2 to 20, inclusive
number of even ints = 10,
first int + last int = 2+20 = 22
A = 10*22 / 2 = 110
B = sum of odd ints from 1 to 19, inclusive
number of odd ints = 10,
first int + last int = 1+19 = 20
A = 10*20 / 2 = 100
(A-B)/2 = 110 - 100 = 10/2=5
Ans :D

General Calculator / Auto Solver

Ifaequals the sum of the even integers from to , inclusive, andbequals the sum of the odd integers from to , inclusive, what is the value of ( a - b ) / ?

We can not automatically calculate the result. Use the steps above to manually calculate the result.