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
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.
Recommended textbooks for you
Text book image
Calculus For The Life Sciences
Calculus
ISBN:9780321964038
Author:GREENWELL, Raymond N., RITCHEY, Nathan P., Lial, Margaret L.
Publisher:Pearson Addison Wesley,
Text book image
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:9781133382119
Author:Swokowski
Publisher:Cengage
Text book image
College Algebra
Algebra
ISBN:9781938168383
Author:Jay Abramson
Publisher:OpenStax
Text book image
College Algebra
Algebra
ISBN:9781305115545
Author:James Stewart, Lothar Redlin, Saleem Watson
Publisher:Cengage Learning
Text book image
College Algebra (MindTap Course List)
Algebra
ISBN:9781305652231
Author:R. David Gustafson, Jeff Hughes
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