#################################

 

表达式f对自变量从a到b求和:其中inf表示正无穷大

F = symsum(f,k,a,b)

F
= symsum(f,k)

 

syms k x
S1 = symsum(k^2, k, 0, 10)
S2 = symsum(1/k^2, k, 1, Inf)
S3 = symsum(x^k/factorial(k), k, 0, Inf)

 

S1 = symsum(k^2, k, [0 10])
S2 = symsum(1/k^2, k, [1; Inf])
S3 = symsum(x^k/factorial(k), k, [0 Inf])

 

 

 

 

 

 

 

 

 

 

################################