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

Concept explainers

bartleby

Videos

Textbook Question
Book Icon
Chapter 18, Problem 1P

Estimate the common logarithm of 10 using linear interpolation.

(a) Interpolate between log 8 = 0.9030900  and log  12 = 1.0791812 .

(b) Interpolate between log 9 = 0.9542425  and log  11 = 1.0413927 .

For each of the interpolations, compute the percent relative error based on the true value.

(a)

Expert Solution
Check Mark
To determine

To calculate: The common logarithmic of 10 by the linear interpolation between log8=0.9030900 and log12=1.0791812. Also, find the percentage relative error based on the true value.

Answer to Problem 1P

Solution:

The common logarithmic of 10 by the linear interpolation between log8 and log12 is 0.9911356 with relative percentage error of 0.88644%.

Explanation of Solution

Given Information:

The values,

log8=0.9030900log12=1.0791812

Formula used:

Linear interpolation formula:

f1(x)=f(x0)+f(x1)f(x0)x1x0(xx0)

And, formula for percentage relative error is,

εt=|True valueApproximatevalueTrue value|×100%

Calculation:

Consider the values, log8=0.9030900 and log12=1.0791812.

Here, x0=8 and x1=12. Therefore,

f(x0)=0.9030900f(x1)=1.0791812

Thus, the value of log 10 by the linear interpolation is,

f1(10)=0.9030900+1.07918120.9030900128(108)=0.9030900+0.17609124×2=0.9030900+0.0880456=0.9911356

Now, the true value of log10=1. Therefore, relative percentage error is,

εt=10.99113561×100%=0.0088644×100%=0.88644%

Hence, the value of log 10 by the linear interpolation is 0.9911356 with relative percentage error of 0.88644%.

(b)

Expert Solution
Check Mark
To determine

To calculate: The common logarithmic of 10 by the linear interpolation between log9=0.9542425 and log11=1.0413927. Also, find the percentage relative error based on the true value.

Answer to Problem 1P

Solution:

The common logarithmic of 10 by the linear interpolation between log9 and log11 is 0.9978176 with relative percentage error of 0.218%.

Explanation of Solution

Given Information:

The values,

log9=0.9542425log11=1.0413927

Formula used:

Linear interpolation formula:

f1(x)=f(x0)+f(x1)f(x0)x1x0(xx0)

And, formula for percentage relative error is,

εt=|True valueApproximatevalueTrue value|×100%

Calculation:

Consider the values, log9=0.9542425 and log11=1.0413927.

Here, x0=9 and x1=11. Therefore,

f(x0)=0.9542425f(x1)=1.0413927

Thus, the value of log 10 by the linear interpolation is,

f1(10)=0.9542425+1.04139270.9542425119(109)=0.9542425+0.08715022×1=0.9542425+0.0435751=0.9978176

Now, the true value of log10=1. Therefore, relative percentage error is,

εt=|10.99781761|×100%=0.0021824×100%=0.218%

Hence, the value of log 10 by the linear interpolation is 0.9978176 with relative percentage error of 0.218%.

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
Students have asked these similar questions
9.7 Given the equations 0.5x₁-x2=-9.5 1.02x₁ - 2x2 = -18.8 (a) Solve graphically. (b) Compute the determinant. (c) On the basis of (a) and (b), what would you expect regarding the system's condition? (d) Solve by the elimination of unknowns. (e) Solve again, but with a modified slightly to 0.52. Interpret your results.
12.42 The steady-state distribution of temperature on a heated plate can be modeled by the Laplace equation, 0= FT T + 200°C 25°C 25°C T22 0°C T₁ T21 200°C FIGURE P12.42 75°C 75°C 00°C If the plate is represented by a series of nodes (Fig. P12.42), cen- tered finite-divided differences can be substituted for the second derivatives, which results in a system of linear algebraic equations. Use the Gauss-Seidel method to solve for the temperatures of the nodes in Fig. P12.42.
9.22 Develop, debug, and test a program in either a high-level language or a macro language of your choice to solve a system of equations with Gauss-Jordan elimination without partial pivoting. Base the program on the pseudocode from Fig. 9.10. Test the program using the same system as in Prob. 9.18. Compute the total number of flops in your algorithm to verify Eq. 9.37. FIGURE 9.10 Pseudocode to implement the Gauss-Jordan algorithm with- out partial pivoting. SUB GaussJordan(aug, m, n, x) DOFOR k = 1, m d = aug(k, k) DOFOR j = 1, n aug(k, j) = aug(k, j)/d END DO DOFOR 1 = 1, m IF 1 % K THEN d = aug(i, k) DOFOR j = k, n aug(1, j) END DO aug(1, j) - d*aug(k, j) END IF END DO END DO DOFOR k = 1, m x(k) = aug(k, n) END DO END GaussJordan

Chapter 18 Solutions

Numerical Methods for Engineers

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
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
Elementary Linear Algebra (MindTap Course List)
Algebra
ISBN:9781305658004
Author:Ron Larson
Publisher:Cengage Learning
Text book image
Algebra for College Students
Algebra
ISBN:9781285195780
Author:Jerome E. Kaufmann, Karen L. Schwitters
Publisher:Cengage Learning
Text book image
Glencoe Algebra 1, Student Edition, 9780079039897...
Algebra
ISBN:9780079039897
Author:Carter
Publisher:McGraw Hill
Text book image
College Algebra (MindTap Course List)
Algebra
ISBN:9781305652231
Author:R. David Gustafson, Jeff Hughes
Publisher:Cengage Learning
Continuous Probability Distributions - Basic Introduction; Author: The Organic Chemistry Tutor;https://www.youtube.com/watch?v=QxqxdQ_g2uw;License: Standard YouTube License, CC-BY
Probability Density Function (p.d.f.) Finding k (Part 1) | ExamSolutions; Author: ExamSolutions;https://www.youtube.com/watch?v=RsuS2ehsTDM;License: Standard YouTube License, CC-BY
Find the value of k so that the Function is a Probability Density Function; Author: The Math Sorcerer;https://www.youtube.com/watch?v=QqoCZWrVnbA;License: Standard Youtube License