MATLAB: Finding the Sum of a Finite Series

seriessum

Hello,
I am trying to calculate the sum of a series. I am trying to use a while loop, however, I keep getting stuck. Any ideas how to proceed?
Thank you

Best Answer

No need any loop, just check here
Still having trouble, let me know?