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

1 Ansicht (letzte 30 Tage)
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.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 7 Okt. 2015
Why does "count" exist in your code when it is a constant?
  2 Kommentare
Nick Haufler
Nick Haufler am 7 Okt. 2015
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 am 7 Okt. 2015
What does a constant variable count, exactly?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by