Using a while loop on a Taylor Series?

1 次查看(过去 30 天)
My script wont output anything for the difference. The file attached shows the taylor series equation which I put into the variable 'Estimate'.

回答(1 个)

TastyPastry
TastyPastry 2015-10-8
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.

类别

Help CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by