Exponential Function without exp() function
조회 수: 2 (최근 30일)
이전 댓글 표시
Background info:
The exponential function can be defined.
but i keep getting wrong values.
댓글 수: 0
답변 (1개)
Roger Stafford
2015년 4월 11일
편집: Roger Stafford
2015년 4월 11일
You have done two things incorrectly here, Karen. First, your required loop was to be unbounded and yet you placed a bound of fifty on it. It should be the limit of 0.001 alone that brings the loop to a halt. Second, you did not accumulate the required sum. Each y you obtain is merely that of a single term of the series. There should be an summation of all these terms you have computed which is not the same as just these individual terms themselves.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!