Numerical Methods for Engineers
Numerical Methods for Engineers
7th Edition
ISBN: 9780073397924
Author: Steven C. Chapra Dr., Raymond P. Canale
Publisher: McGraw-Hill Education
bartleby

Videos

Textbook Question
Book Icon
Chapter 3, Problem 5P

The infinite series

f ( n ) i = 1 n 1 i 4

converges on a value of f ( n ) = π 4 / 90 as n approaches infinity. Write a program in single precision to calculate f ( 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.

Blurred answer
Students have asked these similar questions
please help with this thanks :)
please help me with this question thanks guys
please help me solve
Knowledge Booster
Background pattern image
Advanced Math
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, advanced-math and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
  • Text book image
    College Algebra
    Algebra
    ISBN:9781305115545
    Author:James Stewart, Lothar Redlin, Saleem Watson
    Publisher:Cengage Learning
Text book image
College Algebra
Algebra
ISBN:9781305115545
Author:James Stewart, Lothar Redlin, Saleem Watson
Publisher:Cengage Learning
Sequences and Series (Arithmetic & Geometric) Quick Review; Author: Mario's Math Tutoring;https://www.youtube.com/watch?v=Tj89FA-d0f8;License: Standard YouTube License, CC-BY