The infinite series converges on a value of ? (n) = ? 4 ? / 90 as

Question:

The infinite series converges on a value of ? (n) = ?4?/ 90 as n approaches infinity.

image

Write a program in single precision to calculate ? (n) for n = 10,000 by computing the sum from i = 1 to 10,000. Then repeat the calculation but in reverse order-that is, from i = 10,000 to 1 using increments of ? 1.In each case, compute the true percent relative error. Explain the results.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Numerical Methods For Engineers

ISBN: 9780071244299

5th Edition

Authors: Steven C. Chapra, Raymond P. Canale

Question Posted: