TCS
Company
find the sum of the even numbers between 99 and 301
Read Solution (Total 4)
-
- Ans- 20200
even number between 99 and 301
100,102,104,106.........300
So n=101
S=n/2*(first term+last term)
S=101/2*(100+300)=101*400/2=20200 - 11 years agoHelpfull: Yes(6) No(0)
- 100+102+104+........+298+300
series is A.P,a=100,d=2,l=300
l=a+(n-1)d
or 300=100+(n-1)*2
or n=101
Sum=n/2 *(a+l)
so S=101/2 *(100+300)
=101*200=20200 - 11 years agoHelpfull: Yes(4) No(0)
- sum of all even no b/w 99-301= 20200
- 11 years agoHelpfull: Yes(1) No(0)
- 100+102+104+........+298+300
now 300=100+(n-1)*1
or n=201
so S=201/2(100+300)
=201*200=40200
- 11 years agoHelpfull: Yes(0) No(6)
TCS Other Question