I need to find the limit of
symsum(expression,variable,-Inf,Inf)
It gives error. How I can solve.
Split the summation range in two. For example, to sum 1/(k+1/2)^2 for k ranging from -inf to inf:
1/(k+1/2)^2
k
-inf
inf
>> syms k >> S = symsum(1/(k+1/2)^2,1,inf) + symsum(1/(-k+1/2)^2,0,inf) S = pi^2
Split the summation range in two. For example, to sum
1/(k+1/2)^2
fork
ranging from-inf
toinf
: