Find The Sum Of The First 10 Non-Negative Powers Of 2
Similar to before, compute
Suppose, S = (2^0 + 2^1 + . . . .+ 2^8 + 2^9)
and, 2S = (2^1 + 2^2 +2^3 + . . . + 2^9 + 2^10)
From Above We Can Get,
S = (2S - S)
= (2^10 - 2^0)
= 1024 - 1
= 1023
Suppose, S = (2^0 + 2^1 + . . . .+ 2^8 + 2^9)
and, 2S = (2^1 + 2^2 +2^3 + . . . + 2^9 + 2^10)
From Above We Can Get,
S = (2S - S)
= (2^10 - 2^0)
= 1024 - 1
= 1023
Comments
Post a Comment