Use MATLAB to show that the sum of the infinite series verges to 1n10. Do this by

Question:

Use MATLAB to show that the sum of the infinite series verges to 1n10. Do this by computing the sum for
(a) n = 10,
(b) n = 50,
(c) n = 100
For each part, create a vector n in which the first element is 1, the increment is 1 and the last term is 10, 50 or 100. Then use element-by-element calculations to create a vector in which the elements are (9/10)n. Finally, use MAT-LAB's built-in function sum to sum the series. Compare the values to ln10 (use format long to display the numbers).
Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: