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 20, Problem 60P

Temperatures are measured at various points on a heatedplate (Table P20.60). Estimate the temperature at (a) x = 4 , y = 3.2 , and (b) x = 4.3 , y = 2.7 .

TABLE P20.60 Temperatures ( ° C ) at various points on a square heated plate.

x = 0 x = 2 x = 4 x = 6 x = 8
y = 0 100.00 90.00 80.00 70.00 60.00
y = 2 85.00 64.49 53.50 48.15 50.00
y = 4 70.00 48.90 38.43 35.03 40.00
y = 6 55.00 38.78 30.39 27.07 30.00
y = 8 40.00 35.00 30.00 25.00 20.00

(a)

Expert Solution
Check Mark
To determine

To calculate: The value of temperature at x=4,y=3.2 from the given table if the temperatures in (°C) are recorded at various points on a heated plate.

x=0 x=2 x=4 x=6 x=8
y=0 100.00 90.00 80.00 70.00 60.00
y=2 85.00 64.49 53.50 48.15 50.00
y=4 70.00 48.90 38.43 35.03 40.00
y=6 55.00 38.78 30.39 27.07 30.00
y=8 40.00 35.00 30.00 25.00 20.00

Answer to Problem 60P

Solution:

The value of temperature at x=4,y=3.2 is 43.368°C.

Explanation of Solution

Given Information:

The data is provided as,

x=0 x=2 x=4 x=6 x=8
y=0 100.00 90.00 80.00 70.00 60.00
y=2 85.00 64.49 53.50 48.15 50.00
y=4 70.00 48.90 38.43 35.03 40.00
y=6 55.00 38.78 30.39 27.07 30.00
y=8 40.00 35.00 30.00 25.00 20.00

Formula used:

The zero-order Newton’s interpolation formula:

f0(x)=b0

The first-order/linear Newton’s interpolation formula:

f1(x)=b0+b1(xx0)

The second- order/quadratic Newton’s interpolating polynomial is given by,

f2(x)=b0+b1(xx0)+b2(xx0)(xx1)

Where,

b0=f(x0)b1=f[x1,x0]b2=f[x2,x1,x0]

The first finite divided difference is,

f[xi,xj]=f(xi)f(xj)xixj

And, the n th finite divided difference is,

f[xn,xn1,...,x1,x0]=f[xn,xn1,...,x1]f[xn1,...,x1,x0]xnx0

Calculation:

To calculate the temperature x=4,y=3.2, Newton interpolation is the perfect choice.

First use the linear interpolation formula and arrange the points as close to about x=4,

f1(y)=b0+b1(yy0)

The values are,

y0=4,f(y0)=38.43y1=2,f(y1)=53.5y2=6,f(y2)=30.39y3=0,f(y3)=80

And,

y4=8,f(y4)=30y=3.2

First calculate b1,

b1=53.538.4324=7.535

Put in above equation,

f1(y)=38.43+(7.535)(3.24)=44.458

Similarly for quadratic interpolation,

f2(y)=b0+b1(yy0)+b2(yy0)(yy1)

Now calculate b2,

b2=30.3953.56253.538.432464=5.7775+7.5352=0.87875

Put in quadratic interpolation equation,

f2(y)=44.458+(0.87875)(3.24)(3.22)=44.4580.8436=43.6144

Now, do it for cubic interpolation by the use of the formula,

f3(y)=b0+b1(yy0)+b2(yy0)(yy1)+b3(yy0)(yy1)(yy2)

Now calculate b3,

b3=(8030.390630.3953.562)02(30.3953.56253.538.4324)6404=(8.26833+5.7775)2(5.7775+7.535)24=(1.2454)(0.87875)4=0.0916625

Put in cubic interpolation equation,

f3(y)=43.61440.0916625(3.24)(3.22)(3.26)=43.61440.2463888=43.3680112

And, the error is calculated as,

Error=f2(y)f1(y)=43.614444.458=0.8436

Similarly the other dividend can be calculated as shown above,

Therefore, the difference table can be summarized for y=3.2 as,

Order f(3.2) Error
0 38.43 6.028
1 44.458 0.8436
2 43.6144 0.2464
3 43.368 0.112442
4 43.48045

Since the minimum error for order third, therefore, it can be concluded that the value of temperature at x=4,y=3.2 is 43.368.

(b)

Expert Solution
Check Mark
To determine

To calculate: The value of temperature at x=4.3,y=2.7 from the given table if the temperatures in (°C) are recorded at various points on a heated plate.

x=0 x=2 x=4 x=6 x=8
y=0 100.00 90.00 80.00 70.00 60.00
y=2 85.00 64.49 53.50 48.15 50.00
y=4 70.00 48.90 38.43 35.03 40.00
y=6 55.00 38.78 30.39 27.07 30.00
y=8 40.00 35.00 30.00 25.00 20.00

Answer to Problem 60P

Solution:

The value of temperature at x=4.3,y=2.7 is 46.14°C.

Explanation of Solution

Given Information:

The data is provided as,

x=0 x=2 x=4 x=6 x=8
y=0 100.00 90.00 80.00 70.00 60.00
y=2 85.00 64.49 53.50 48.15 50.00
y=4 70.00 48.90 38.43 35.03 40.00
y=6 55.00 38.78 30.39 27.07 30.00
y=8 40.00 35.00 30.00 25.00 20.00

Formula used:

The zero-order Newton’s interpolation formula:

f0(x)=b0

The first-order/linear Newton’s interpolation formula:

f1(x)=b0+b1(xx0)

The second- order/quadratic Newton’s interpolating polynomial is given by,

f2(x)=b0+b1(xx0)+b2(xx0)(xx1)

Where,

b0=f(x0)b1=f[x1,x0]b2=f[x2,x1,x0]

The first finite divided difference is,

f[xi,xj]=f(xi)f(xj)xixj

And, the n th finite divided difference is,

f[xn,xn1,...,x1,x0]=f[xn,xn1,...,x1]f[xn1,...,x1,x0]xnx0

Calculation:

To calculate the temperature x=4.3,y=2.7, Newton interpolation is the perfect choice.

Since, this is a two-dimensional interpolation, therefore one way is to use cubic interpolation along the y direction for specific values of x and then go along the x direction for values of y obtained from the previous analysis.

First use the linear interpolation formula and arrange the points as close to about x=2,

f1(y)=b0+b1(yy0)

The values are,

y0=2,f(y0)=64.49y1=4,f(y1)=48.90y2=6,f(y2)=38.78y3=0,f(y3)=90.00

And,

y4=8,f(y4)=35.00y=2.7

First calculate b1,

b1=48.964.4942=7.795

Put in above equation,

f1(y)=64.49+(7.795)(2.72)=59.0335

Similarly for quadratic interpolation,

f2(y)=b0+b1(yy0)+b2(yy0)(yy1)

Now calculate b2,

b2=38.7848.906448.9064.494262=5.06+7.7954=0.68375

Put in quadratic interpolation equation,

f2(y)=59.0335+(0.68375)(2.72)(2.74)=59.03350.6222125=58.4112875

Now, do it for cubic interpolation by the use of the formula,

f3(y)=b0+b1(yy0)+b2(yy0)(yy1)+b3(yy0)(yy1)(yy2)

Now calculate b3,

b3=(90.0038.780638.7848.9064)04(38.7848.906448.9064.4942)6202=(8.5366+5.06)6(5.06+7.535)42=(0.57943)(0.61875)2=0.01965833

Put in cubic interpolation equation,

f3(y)=58.4112875+0.01965833(2.72)(2.74)(2.76)=58.4112875+0.059033=58.47032

And, the error is calculated as,

Error=f2(y)f1(y)=58.411287559.0335=0.6222125

Similarly the other dividend can be calculated as shown above,

Therefore, the difference table can be summarized for y=2.7 as,

Order f(2.7) Error
0 64.49 5.4565
1 59.0335 0.6225
2 58.411 0.05932
3 58.47032

Now, do this for x=4,

f1(y)=b0+b1(yy0)

The values are,

y0=4,f(y0)=38.43y1=2,f(y1)=53.5y2=6,f(y2)=30.39y3=0,f(y3)=80

And,

y4=8,f(y4)=30y=2.7

First calculate b1,

b1=53.538.4324=7.535

Put in above equation,

f1(y)=38.43+(7.535)(2.74)=48.2255

Similarly for quadratic interpolation,

f2(y)=b0+b1(yy0)+b2(yy0)(yy1)

Now calculate b2,

b2=30.3953.56253.538.432464=5.7775+7.5352=0.87875

Put in quadratic interpolation equation,

f2(y)=48.2255+(0.87875)(2.74)(2.72)=48.22550.7996625=47.4253375

Now, do it for cubic interpolation by the use of the formula,

f3(y)=b0+b1(yy0)+b2(yy0)(yy1)+b3(yy0)(yy1)(yy2)

Now calculate b3,

b3=(8030.390630.3953.562)02(30.3953.56253.538.4324)6404=(8.26833+5.7775)2(5.7775+7.535)24=(1.2454)(0.87875)4=0.0916625

Put in cubic interpolation equation,

f3(y)=47.42533750.0916625(2.74)(2.72)(2.76)=47.42533750.2752624875=47.1505625

Similarly, for x=6andx=8, the above process can be repeated and the following values is obtained.

T(x=2,y=2.7)=58.47032T(x=4,y=2.7)=47.1505625T(x=6,y=2.7)=42.74770188T(x=8,y=2.7)=46.5

Now for the calculation for x=4.3,

f1(x)=b0+b1(xx0)

The values are,

x0=4,f(y0)=47.15x1=6,f(y1)=42.74x2=2,f(y2)=58.47x3=8,f(y3)=46.5

And,

x=4.3

First calculate b1,

b1=42.7447.1564=2.205

Put in above equation,

f1(x)=47.15+(2.205)(4.34)=46.4885

Similarly for quadratic interpolation,

f2(x)=b0+b1(xx0)+b2(xx0)(xx1)

Now calculate b2,

b2=58.4742.742642.7447.156424=3.9325+2.2052=0.86375

Put in quadratic interpolation equation,

f2(x)=46.4885+(0.86375)(4.34)(4.36)=46.48850.4405125=46.0479875

Now, do it for cubic interpolation by the use of the formula,

f3(x)=b0+b1(xx0)+b2(xx0)(xx1)+b3(xx0)(xx1)(xx2)

Now calculate b3,

b3=(46.558.478258.4742.7426)86(58.4742.742642.7447.1564)2484=(1.995+3.9325)2(3.93252.205)24=(0.96875)(3.06875)4=0.525

Put in cubic interpolation equation,

f3(x)=46.48850.525(4.34)(4.36)(4.32)=46.48850.348075=46.140425

And, the error is calculated as,

Error=f2(y)f1(y)=46.047987546.4885=0.4405125

Similarly the other dividend can be calculated as shown above,

Therefore, the difference table can be summarized for x=4.3 as,

Order f(4.3) Error
0 47.15 0.6615
1 46.4885 0.4405125
2 46.0479875 0.0924375
3 46.140425

Hence, the value of temperature at x=4.3,y=2.7 is 46.14°C.

This problem can also be solved with MATLAB as it contains the predefined function interp2.

The MATLAB code is as shown below,

% the given table values are stored in variable Z.

Z=[10090807060;

8564.4953.548.1550;

7048.938.4335.0340;

5538.7830.3927.0730;

4035302520];

% The X values are given.

X=[02468];

% The Y values are given.

Y=[02468];

The output in the command window is,

Numerical Methods for Engineers, Chapter 20, Problem 60P , additional homework tip  1

For more accuracy, the result can also be obtained from the bicubic interpolation as shown below,

Numerical Methods for Engineers, Chapter 20, Problem 60P , additional homework tip  2

Finally, the interpolation can also be implemented with the use of splines as shown below,

Numerical Methods for Engineers, Chapter 20, Problem 60P , additional homework tip  3

Hence, it can be concluded that the result is similar to that obtained from the calculation.

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
The amount of protein in a sample is measured by the samples absorbance of light at a given wavelength. Using standards, a best fit line of absorbance vs. mg protein gave the following parameters:                                     m = 0.01630    sm = 0.00022                                                             b = 0.1040                                sb = 0.0026 An unknown sample has an absorbance of 0.246 ± 0.0059. What is the amount of protein in the sample?
Q1 / The average internal diameter measurements of iron tubes (M = 10 cm), if you know that 88% of the company's production is within the limits of the specification (M + 0.07, M-0.07), calculate the percentage of pipes with a diameter greater than 9.5 cm.
Anna wants to estimate the average shower time of teenagers. From the sample of 50 teenagers, she found out that it takes 5 minutes for teenagers to shower. What is the parameter? a. sample of 50 teenagers b. 50 teenagers in 5 minutes c. average shower time of teenagers d. took 5 minutes for teenagers to shower

Chapter 20 Solutions

Numerical Methods for Engineers

Ch. 20 - Prob. 11PCh. 20 - The molecular weight of a polymer can be...Ch. 20 - 20.13 On average, the surface area A of human...Ch. 20 - 20.14 Determine an equation to predict metabolism...Ch. 20 - 20.15 Human blood behaves as a Newtonian fluid...Ch. 20 - 20.16 Soft tissue follows an exponential...Ch. 20 - 20.17 The thickness of the retina changes during...Ch. 20 - 20.18 The data tabulated below were generated from...Ch. 20 - The shear stresses, in kilopascals (kPa), of nine...Ch. 20 - 20.20 A transportation engineering study was...Ch. 20 - The saturation concentration of dissolved oxygen...Ch. 20 - For the data in Table P20.21, use polynomial...Ch. 20 - 20.23 Use multiple linear regression to derive a...Ch. 20 - 20.24 As compared to the models from Probs. 20.22...Ch. 20 - 20.25 In water-resources engineering, the sizing...Ch. 20 - 20.26 The concentration of total phosphorus and...Ch. 20 - 20.27 The vertical stress under the corner of a...Ch. 20 - Three disease-carrying organisms decay...Ch. 20 - 20.29 The mast of a sailboat has a cross-sectional...Ch. 20 - 20.30 Enzymatic reactions are used extensively to...Ch. 20 - 20.31 Environmental engineers dealing with the...Ch. 20 - An environmental engineer has reported the data...Ch. 20 - The following model is frequently used in...Ch. 20 - 20.34 As a member of Engineers Without Borders,...Ch. 20 - 20.35 Perform the same computations as in Sec....Ch. 20 - 20.36 You measure the voltage drop V across a...Ch. 20 - Duplicate the computation for Prob. 20.36, but use...Ch. 20 - The current in a wire is measured with great...Ch. 20 - 20.39 The following data was taken from an...Ch. 20 - It is known that the voltage drop across an...Ch. 20 - Ohms law states that the voltage drop V across an...Ch. 20 - 20.42 Repeat Prob. 20.41 but determine the...Ch. 20 - 20.43 An experiment is performed to determine the...Ch. 20 - Bessel functions often arise in advanced...Ch. 20 - 20.45 The population of a small community on the...Ch. 20 - Based on Table 20.4, use linear and quadratic...Ch. 20 - 20.47 Reproduce Sec. 20.4, but develop an equation...Ch. 20 - 20.48 Dynamic viscosity of water is related to...Ch. 20 - 20.49 Hooke’s law, which holds when a spring is...Ch. 20 - 20.50 Repeat Prob. 20.49 but fit a power curve to...Ch. 20 - The distance required to stop an automobile...Ch. 20 - An experiment is performed to define the...Ch. 20 - The acceleration due to gravity at an altitude y...Ch. 20 - The creep rate is the time rate at which strain...Ch. 20 - 20.55 It is a common practice when examining a...Ch. 20 - The relationship between stress and the shear...Ch. 20 - The velocity u of air flowing past a flat surface...Ch. 20 - 20.58 Andrade’s equation has been proposed as a...Ch. 20 - Develop equations to fit the ideal specific heats...Ch. 20 - 20.60 Temperatures are measured at various points...Ch. 20 - 20.61 The data below were obtained from a creep...
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
Recommended textbooks for you
Text book image
Mathematics For Machine Technology
Advanced Math
ISBN:9781337798310
Author:Peterson, John.
Publisher:Cengage Learning,
Text book image
Holt Mcdougal Larson Pre-algebra: Student Edition...
Algebra
ISBN:9780547587776
Author:HOLT MCDOUGAL
Publisher:HOLT MCDOUGAL
Text book image
Functions and Change: A Modeling Approach to Coll...
Algebra
ISBN:9781337111348
Author:Bruce Crauder, Benny Evans, Alan Noell
Publisher:Cengage Learning
Text book image
College Algebra
Algebra
ISBN:9781938168383
Author:Jay Abramson
Publisher:OpenStax
Text book image
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:9781133382119
Author:Swokowski
Publisher:Cengage
Text book image
Algebra: Structure And Method, Book 1
Algebra
ISBN:9780395977224
Author:Richard G. Brown, Mary P. Dolciani, Robert H. Sorgenfrey, William L. Cole
Publisher:McDougal Littell
Use of ALGEBRA in REAL LIFE; Author: Fast and Easy Maths !;https://www.youtube.com/watch?v=9_PbWFpvkDc;License: Standard YouTube License, CC-BY
Compound Interest Formula Explained, Investment, Monthly & Continuously, Word Problems, Algebra; Author: The Organic Chemistry Tutor;https://www.youtube.com/watch?v=P182Abv3fOk;License: Standard YouTube License, CC-BY
Applications of Algebra (Digit, Age, Work, Clock, Mixture and Rate Problems); Author: EngineerProf PH;https://www.youtube.com/watch?v=Y8aJ_wYCS2g;License: Standard YouTube License, CC-BY