Question

(matlab)

72 (9/10) Use MATLAB to show that the sum of infinite series 2-1 converges to in(n). Do this by computing the sum for n = 10

0 0
Add a comment Improve this question Transcribed image text
Answer #1

* en (x) = 2 () ( x 7 M 2 M 아 드 (-) M ) but ㅈ 10 then (10) = (10) M (9110) - s n의 n

MATLAB CODE:

syms n
display('(a) for n=1:10')
Fa=symsum((0.9^n/n),n,1,10);% (a)
vpa(Fa)
display('(b) for n=1:50')
Fb=symsum((0.9^n/n),n,1,50); % (b)
vpa(Fb)
display('(c) for n=1:100')
Fc=symsum((0.9^n/n),n,1,100); % (c)
vpa(Fc)
display('ln(10) value is:')
log(10)

Result of the MATLAB CODE:

>> lnx (a) for n=1:10 ans = 2.1187475948314285714285714285714 (b) for n=1:50 ans = 2.3017962525010716565470942064098 (c) for

Add a comment
Know the answer?
Add Answer to:
(matlab) 72 (9/10)" Use MATLAB to show that the sum of infinite series 2-1 converges to...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT