B 2 Pt Compute 2k 1 2k K 2 Q37130645

(b) (2 pt) Compute Σ(2k+1-2k). k-2

(b) (2 pt) Compute Σ(2k+1-2k). k-2 Show transcribed image text (b) (2 pt) Compute Σ(2k+1-2k). k-2


Answer


Here is a simple program to compute the Sumtotal=0for k in range(2,12): # running a loop from 2 to 11# calculate the value of 2^(k+1) – 2^k total+=2**(k+1) – 2**k# print the total at the endprint(total)

Answer : 4092

total0 for k in range (2,12): total+ 2** (k+l) - 2**k print (total) SimpleProgram C:Users UserPycharmProjectsCh 4092 Proce

Let me know in case you have any questions orproblem.

total0 for k

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.