Matlab gives back ''symsum'' formula but not a value

1 次查看(过去 30 天)
The equations that I have to solve is and . I used these codes to solve them:
For equation no.1: F1=symsum(atan(pi/factorial(n)),n,0,Inf); Answer that matlab gives: symsum(atan(pi/factorial(n)), n, 0, Inf).
For equation no.2: F2=symsum(((-1)^n)*(sin(pi/(2^n))),n,1,Inf); Answer that matlab gives: symsum((-1)^n*sin(pi/2^n), n, 1, Inf).
If I delete atan and sin, matlab calculates F1 and F2 like it should, but with them, it only gives formulas back.

回答(1 个)

Walter Roberson
Walter Roberson 2022-5-19
Wolframalpha calculates the first sum numerically, not able to find a closed form for it.
What reason do you have to expect that a closed form exists?
symsum is for calculation of closed forms, not for numeric approximation.

类别

Help CenterFile Exchange 中查找有关 Calculus 的更多信息

产品


版本

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by