Computer Science, asked by shanzahameed950, 5 months ago

sum of series in c++ 2, 4, 6.......n​

Answers

Answered by primestudent2811
0

Answer:

hi their

Explanation:

i have a idea copy it and past it in Google and search please mark me as brainliest answer

Answered by priyadpriyadarshini3
0

Answer:

ANSWER

Let T

n

is the nth term

Then sum upto n term is

S=1+3+7+15+31+......+T

n

...(1)

Again S=1+3+7+15+......+T

n−1

+T

n

...(2)

Subtracting (2) -(1) we get

0=1+[2+4+8+16+.....(T

n

−T

n1

)]−T

n

T

n

=1+2+2

2

+2

3

+2

4

+ upto n terms

Therefore

S=∑T

n

=∑2

n−1

=(2+2

2

+2

3

+......+2

n

)n=2(

2−1

2

n

−1

)n=2

n+1

n−2n

Similar questions