22. Use MATLAB to show that the sum of the infinite series converges to /6. Do this...

Question:

22. Use MATLAB to show that the sum of the infinite series converges to /6. Do this by computing the sum for:

(a) n=5,

(b) n=50.

(c) n=5000 For each part create a vector # in which the first element is 1, the increment is 1 and the last term is 5, 50, or 5,000. Then use element-by-element calcula- tions to create a vector in which the elements are Finally, use MAT- n LAB's built-in function sum to sum the series. Compare the values to x/6. 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: