As it is a sum and as k=3 is occurring exactly once, you can use
S1 = symsum(k^2,k,[1,10])+m;
Or do you actually look for a more general solution?
As it is a sum and as k=3 is occurring exactly once, you can use
S1 = symsum(k^2,k,[1,10])+m;
Or do you actually look for a more general solution?
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!