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 个评论
James Tursa
2021-12-6
What have you done so far? What specific problems are you having with your code?
回答(1 个)
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));
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!