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 48P

Dynamic viscosity of water μ ( 10 3 N s/m 2 ) is related to temperature ( ° c ) in the following manner:

T 0 5 10 20 30 40
μ 1.787 1.519 1.307 1.002 0.7975 0.6529

(a) Plot these data.

(b) Use interpolation to predict μ at T = 7.5 ° C .

(c) Use polynomial regression to fit a parabola to these data in order to make the same prediction.

(a)

Expert Solution
Check Mark
To determine

To graph: The given data if μ is dynamic viscosity of water (103Ns/m2) and T is the temperature in Celsius.

T 0 5 10 20 30 40
μ 1.787 1.519 1.307 1.002 0.7975 0.6529

Explanation of Solution

Given Information:

The data is,

T 0 5 10 20 30 40
μ 1.787 1.519 1.307 1.002 0.7975 0.6529

Graph:

The plot can be easily made with the help of excel as shown below,

Step 1. First put the data in the excel as shown below,

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

Step 2. Now click on insert and then scatter plot.

Thus, the scatter plot is,

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

Interpretation:

From the plot, this can be interpreted that the dynamic viscosity of water decreases as the temperature increases.

(b)

Expert Solution
Check Mark
To determine

To calculate: The value of μ at T=7.5°C by interpolation if μ is dynamic viscosity of water (103Ns/m2) and T is the temperature in Celsius.in Celsius.

T 0 5 10 20 30 40
μ 1.787 1.519 1.307 1.002 0.7975 0.6529

Answer to Problem 48P

Solution:

The value of μ at T=7.5°C can be predicted as 1.406×103Ns/m2.

Explanation of Solution

Given Information:

The data is,

T 0 5 10 20 30 40
μ 1.787 1.519 1.307 1.002 0.7975 0.6529

Formula used:

The zero-order Newton’s interpolation formula:

f0(x)=b0

The first-order Newton’s interpolation formula:

f1(x)=b0+b1(xx0)

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

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

The n th-order Newton’s interpolating polynomial is given by,

fn(x)=b0+b1(xx0)+b2(xx0)(xx1)++bn(xx0)(xx1)(xxn1)

Where,

b0=f(x0)b1=f[x1,x0]b2=f[x2,x1,x0]b2=f[xn,,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 solve for T=7.5°C, Newton interpolation will be best for this data.

Assume x=T,

First, order the provided value as close to 7.5 as below,

x0=5,x1=10,x2=0,x3=20,x4=30 and x5=40.

Therefore,

f(x0)=1.519×103f(x1)=1.307×103f(x2)=1.787×103f(x3)=1.002×103

And,

f(x4)=0.7975×103f(x5)=0.6529×103

The first divided difference is,

f[x1,x0]=f(x1)f(x0)x1x0=1.307×1031.519×103105=0.040×103

Thus, the first degree polynomial value can be calculated as,

f1(x)=b0+b1(xx0)

Put b0=1.519×103,b1=0.040×103,x=7.5andx0=5 in above equation,

f1(x)=1.519×103+(0.040×103)(7.55)=1.419×103

Solve for other values as,

f[x2,x1]=f(x2)f(x1)x2x1=1.787×1031.307×103010=0.480×10310=0.0480×103

And,

f[x3,x2]=f(x3)f(x2)x3x2=1.002×1031.787×103200=0.03925×103

Similarly, f[x4,x3],f[x5,x4] can be calculated.

The second divided difference is,

f[x2,x1,x0]=f[x2,x1]f[x1,x0]x2x0=0.0480×1031.419×10305=0.2934×103

Thus, the second degree polynomial value can be calculated as,

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

Put b0=1.519×103,b1=0.040×103,b2=0.2934×103,x1=10,x=7.5andx0=5 in above equation,

f2(x)=1.519×103+0.040×103(7.55)+0.2934×103(7.55)(7.510)=1.406×103

And,

f[x3,x2,x1]=f[x3,x2]f[x2,x1]x3x1=0.03925×103+0.0480×1032010=0.000875×103

The third divided difference is,

f[x3,x2,x1,x0]=f[x3,x2,x1]f[x2,x1,x0]x3x0=0.000875×1030.2934×103205=0.0195×103

Thus, the third degree polynomial value can be calculated as,

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

Put this in above equation,

b0=1.519×103,b1=0.040×103,b2=0.2934×103,b3=0.0195×103,x2=0,x1=10,x=7.5andx0=5

Therefore,

f3(x)=1.519×103+0.040×103(7.55)+0.2934×103(7.55)(7.510)0.0195×103(7.55)(7.510)(7.50)=1.4067×103

And, the error is calculated as,

Error=f2(x)f1(x)=1.406×1031.419×103=7×106

Similarly the other dividend can be calculated as shown above,

Therefore, the difference table can be summarized for T=7.5 as,

Order f(7.5) Error
0 1.519×103 0.00011
1 1.419×103 7×106
2 1.406×103 7.66×107
3 1.406×103 9.18×108
4 1.406×103 5.81×109
5 1.406×103

Since the minimum error for order four, therefore, it can be concluded that the value of μ at T=7.5°C is 1.406×103.

(c)

Expert Solution
Check Mark
To determine

To calculate: The value of μ at T=7.5°C by fitting the data into polynomial regression if μ is dynamic viscosity of water (103Ns/m2) and T is the temperature in Celsius.

T 0 5 10 20 30 40
μ 1.787 1.519 1.307 1.002 0.7975 0.6529

Answer to Problem 48P

Solution:

The value of μ at T=7.5°C can be predicted as 1.4269×103Ns/m2.

Explanation of Solution

Given Information:

The data is,

T 0 5 10 20 30 40
μ 1.787 1.519 1.307 1.002 0.7975 0.6529

Calculation:

This problem can be easily solved with the help of excel as shown below,

Step 1. First put the data in the excel as shown below,

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

Step 2. Now click on insert and then scatter plot.

Step 3. Click on layout, Trendline, more trendline options, polynomial and then display equation on chart.

Step 4. Click on display R-squared value on chart as shown below,

Numerical Methods for Engineers, Chapter 20, Problem 48P , additional homework tip  4

Thus, the final plot is shown as below,

Numerical Methods for Engineers, Chapter 20, Problem 48P , additional homework tip  5

Therefore, the regression plot equation of the data will be,

μ=0.0005T20.0495T+1.7672

Put T=7.5 in above equation,

μ=0.0005(7.5)20.0495(7.5)+1.7672=1.4269×103

Hence, the value of μ at T=7.5°C can be predicted as 1.4269×103Ns/m2.

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!

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.
Recommended textbooks for you
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
Trigonometry (MindTap Course List)
Trigonometry
ISBN:9781337278461
Author:Ron Larson
Publisher:Cengage Learning
Text book image
Linear Algebra: A Modern Introduction
Algebra
ISBN:9781285463247
Author:David Poole
Publisher:Cengage Learning
Text book image
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:9781133382119
Author:Swokowski
Publisher:Cengage
Text book image
College Algebra
Algebra
ISBN:9781337282291
Author:Ron Larson
Publisher:Cengage Learning
Correlation Vs Regression: Difference Between them with definition & Comparison Chart; Author: Key Differences;https://www.youtube.com/watch?v=Ou2QGSJVd0U;License: Standard YouTube License, CC-BY
Correlation and Regression: Concepts with Illustrative examples; Author: LEARN & APPLY : Lean and Six Sigma;https://www.youtube.com/watch?v=xTpHD5WLuoA;License: Standard YouTube License, CC-BY