Finding the sum of a series without symsum
조회 수: 8 (최근 30일)
이전 댓글 표시
I'm trying to do the system sum of this equation, but all I've found is the command symsum to do this. However, I don't have the toolbar that this command comes with. Is there any way to either use this command or any other commands I can use to do this?
This is what I got so far. Any help is appreciated.
com_cos = symsum((((-1) ^ k) * x_val ^ (2 * k)) / factorial(2 * k), k = 1..Infinity);
댓글 수: 0
채택된 답변
Roger Stafford
2018년 3월 5일
You don't need 'symsum' to evaluate that series. It's easy to see that its sum is
com_cos = cos(x_val)-1
just by inspection.
추가 답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Calculus에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!