help me how to find how many terms does it take until the series converges to 0.001?

1 次查看(过去 30 天)
using matlab to solve it

回答(1 个)

David Hill
David Hill 2021-12-6
Don't understand your queston completely, but quite easy to form the series. For example when n=35, which is about as far as you can go with floating point.
x=cumsum(1./exp(1).^(0:35));

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by