MATLAB: Hi i am new. Kindly help me making this code.

infinite sumSymbolic Math Toolboxtime series

the answer is supposed to be 3/2 that i got by hand. kindly help how to find it by MATLAB code.

Best Answer

What did you try? Is there a reason why you did not try symsum? TRY IT!
help symsum
I will even point pout that symsum allows an upper limit of inf, so this was virtually a 2 line code. I'll give you the first line of the code I wrote, to get you started.
syms k