I have earlier used a similar expression to calculate the sum using a for loop (without limits) and it looked like this:
for N=1:100 S(N)=S(N-1)+(1/N^2)end
In this case I need to create a while loop how do I start?
/ I am a super-beginner at matlab
Best Answer