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

1 visualizzazione (ultimi 30 giorni)
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.

Risposte (1)

Walter Roberson
Walter Roberson il 19 Mag 2022
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.

Prodotti


Release

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by