Using a while loop on a Taylor Series?
Show older comments
My script wont output anything for the difference. The file attached shows the taylor series equation which I put into the variable 'Estimate'.
Answers (1)
TastyPastry
on 8 Oct 2015
0 votes
You need to update your variable "count". Your function repeatedly calculates the value when count = 1, so naturally on the second time through the two estimates are equal.
1 Comment
Nick Haufler
on 8 Oct 2015
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!