Concept explainers
Dynamic viscosity of water
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
(c) Use polynomial regression to fit a parabola to these data in order to make the same prediction.
(a)
To graph: The given data if
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,
Step 2. Now click on insert and then scatter plot.
Thus, the scatter plot is,
Interpretation:
From the plot, this can be interpreted that the dynamic viscosity of water decreases as the temperature increases.
(b)
To calculate: The value of
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
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:
The first-order Newton’s interpolation formula:
The second- order Newton’s interpolating polynomial is given by,
The n th-order Newton’s interpolating polynomial is given by,
Where,
The first finite divided difference is,
And, the n th finite divided difference is,
Calculation:
To solve for
Assume
First, order the provided value as close to 7.5 as below,
Therefore,
And,
The first divided difference is,
Thus, the first degree polynomial value can be calculated as,
Put
Solve for other values as,
And,
Similarly,
The second divided difference is,
Thus, the second degree polynomial value can be calculated as,
Put
And,
The third divided difference is,
Thus, the third degree polynomial value can be calculated as,
Put this in above equation,
Therefore,
And, the error is calculated as,
Similarly the other dividend can be calculated as shown above,
Therefore, the difference table can be summarized for
Order | Error | |
0 | ||
1 | ||
2 | ||
3 | ||
4 | ||
5 |
Since the minimum error for order four, therefore, it can be concluded that the value of
(c)
To calculate: The value of
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
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,
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,
Thus, the final plot is shown as below,
Therefore, the regression plot equation of the data will be,
Put
Hence, the value of
Want to see more full solutions like this?
Chapter 20 Solutions
Numerical Methods For Engineers, 7 Ed
- 1.3. The dots of Output 2 lie in pairs. Why? What property of esin(x) gives rise to this behavior?arrow_forward1.6. By manipulating Taylor series, determine the constant C for an error expansion of (1.3) of the form wj−u' (xj) ~ Ch¼u (5) (x;), where u (5) denotes the fifth derivative. Based on this value of C and on the formula for u(5) (x) with u(x) = esin(x), determine the leading term in the expansion for w; - u'(x;) for u(x) = esin(x). (You will have to find maxε[-T,T] |u(5) (x)| numerically.) Modify Program 1 so that it plots the dashed line corresponding to this leading term rather than just N-4. This adjusted dashed line should fit the data almost perfectly. Plot the difference between the two on a log-log scale and verify that it shrinks at the rate O(h6).arrow_forwardDefine sinc(x) = sin(x)/x, except with the singularity removed. Differentiate sinc(x) once and twice.arrow_forward
- 1.4. Run Program 1 to N = 216 instead of 212. What happens to the plot of error vs. N? Why? Use the MATLAB commands tic and toc to generate a plot of approximately how the computation time depends on N. Is the dependence linear, quadratic, or cubic?arrow_forwardShow that the function f(x) = sin(x)/x has a removable singularity. What are the left and right handed limits?arrow_forward18.9. Let denote the boundary of the rectangle whose vertices are -2-2i, 2-21, 2+i and -2+i in the positive direction. Evaluate each of the following integrals: (a). 之一 dz, (b). dz, (b). COS 2 coz dz, dz (z+1) (d). z 2 +2 dz, (e). (c). (2z+1)zdz, z+ 1 (f). £, · [e² sin = + (2² + 3)²] dz. (2+3)2arrow_forward
- 18.10. Let f be analytic inside and on the unit circle 7. Show that, for 0<|z|< 1, f(E) f(E) 2πif(z) = --- d.arrow_forward18.4. Let f be analytic within and on a positively oriented closed contoury, and the point zo is not on y. Show that L f(z) (-20)2 dz = '(2) dz. 2-20arrow_forward18.9. Let denote the boundary of the rectangle whose vertices are -2-2i, 2-21,2+i and -2+i in the positive direction. Evaluate each of the following integrals: (a). rdz, (b). dz (b). COS 2 coz dz, (z+1) (d). 之一 z 2 +2 dz, (e). dz (c). (2z + 1)2dz, (2z+1) 1 (f). £, · [e² sin = + (2² + 3)²] dz. z (22+3)2arrow_forward
- 18.8. (a). Let be the contour z = e-≤0≤ traversed in the า -dz = 2xi. positive direction. Show that, for any real constant a, Lex dzarrow_forwardf(z) 18.7. Let f(z) = (e² + e³)/2. Evaluate dz, where y is any simple closed curve enclosing 0.arrow_forward18. If m n compute the gcd (a² + 1, a² + 1) in terms of a. [Hint: Let A„ = a² + 1 and show that A„|(Am - 2) if m > n.]arrow_forward
- Algebra & Trigonometry with Analytic GeometryAlgebraISBN:9781133382119Author:SwokowskiPublisher:CengageAlgebra and Trigonometry (MindTap Course List)AlgebraISBN:9781305071742Author:James Stewart, Lothar Redlin, Saleem WatsonPublisher:Cengage Learning
- Functions and Change: A Modeling Approach to Coll...AlgebraISBN:9781337111348Author:Bruce Crauder, Benny Evans, Alan NoellPublisher:Cengage LearningCollege AlgebraAlgebraISBN:9781305115545Author:James Stewart, Lothar Redlin, Saleem WatsonPublisher:Cengage Learning