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
조회 수: 3 (최근 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!