Help me about the error with symsum function to calculate the sum of series ?

I use symsum to calculate the sum of a series, with 1) and 2), it's ok. but with 3), the symsum does not have the result. Why ? help me about this error. Thanks very much.

回答 (1 件)

George Papazafeiropoulos
George Papazafeiropoulos 2014 年 5 月 28 日
Maybe because there is not any analytical formula which gives this sum. Can this function be integrated in an analytic way? I suppose no.
You can take the numerical result of the sum in this way:
k=1:10000;
sum1=sum(((k+1).^(1/2) - (k-1).^(1/2))./k.^2);
k=1:100000;
sum2=sum(((k+1).^(1/2) - (k-1).^(1/2))./k.^2);
and compare sum1 and sum2. The result is 1.763306701885209.

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

製品

質問済み:

2014 年 5 月 28 日

回答済み:

2014 年 5 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by