Using a while loop to display the log of a Taylor Series

조회 수: 1 (최근 30일)
Nick Haufler
Nick Haufler 2015년 10월 7일
댓글: Walter Roberson 2015년 10월 7일
In the attached document, how do you get the output for the Taylor series. I'm getting outputs, but my difference always is zero. I'll attach my script, so you can take a look at what I was thinking. Im getting confused on the Estimate variable.

채택된 답변

Walter Roberson
Walter Roberson 2015년 10월 7일
Why does "count" exist in your code when it is a constant?
  댓글 수: 2
Nick Haufler
Nick Haufler 2015년 10월 7일
We were told to first initialize it at 0. Then we use count for each iteration or section of the Taylor series in the loop.
Walter Roberson
Walter Roberson 2015년 10월 7일
What does a constant variable count, exactly?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Genetic Algorithm에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by