I am having a hard time solving the following problem:
Here is what I have (for n=10) and I cannot for the life of me get the correct output, which should be 3.14 with a bunch of numbers after it.
clc,clearformat longESpi=0; for k=0:10 ESpi=ESpi+[(-1)^k/(2*k+1)^3];endESpi
Best Answer