calculate the sum of the following geometric series when N = 1000 and r =1/2 I have searched here and in the "help" in Matlab, but i found nothing about the geometric series
2 ビュー (過去 30 日間)
古いコメントを表示
calculate the sum of the following geometric series when N = 1000 and r =1/2 I have searched here and in the "help" in Matlab, but i found nothing about the geometric series
0 件のコメント
採用された回答
Roger Stafford
2016 年 2 月 11 日
If your geometric series is a, a*r, a*r^2, ..., a*r^N, then its sum is:
s = a*(1-r^(N+1))/(1-r)
0 件のコメント
その他の回答 (2 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!