How do I create an equation for symsum that involves multiplaction, fractions, etc?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Margaret Winding
am 12 Jan. 2017
Kommentiert: Margaret Winding
am 12 Jan. 2017
I am trying to find the sum of the following series:
1/((2k+1)^2 x (2k+3)^2) for 500 terms starting with zero
I have the following
syms k f= 1/((2k+1)^2.*(2k+3)^2) S_symsum= symsum(f, k, 0, 499)
Matlab keeps saying that I'm typing in the function f wrong. How do I fix this?
0 Kommentare
Akzeptierte Antwort
John Chilleri
am 12 Jan. 2017
Hello,
You need a multiplication sign between 2 and k:
syms k
f= 1/((2*k+1)^2.*(2*k+3)^2)
S_symsum= symsum(f, k, 0, 499)
Hope this helps!
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Calculus finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!