Concept explainers
Temperatures are measured at various points on a heatedplate (Table P20.60). Estimate the temperature at (a)
TABLE P20.60 Temperatures
|
|
|
|
|
|
|
100.00 | 90.00 | 80.00 | 70.00 | 60.00 |
|
85.00 | 64.49 | 53.50 | 48.15 | 50.00 |
|
70.00 | 48.90 | 38.43 | 35.03 | 40.00 |
|
55.00 | 38.78 | 30.39 | 27.07 | 30.00 |
|
40.00 | 35.00 | 30.00 | 25.00 | 20.00 |
(a)
To calculate: The value of temperature at
100.00 | 90.00 | 80.00 | 70.00 | 60.00 | |
85.00 | 64.49 | 53.50 | 48.15 | 50.00 | |
70.00 | 48.90 | 38.43 | 35.03 | 40.00 | |
55.00 | 38.78 | 30.39 | 27.07 | 30.00 | |
40.00 | 35.00 | 30.00 | 25.00 | 20.00 |
Answer to Problem 60P
Solution:
The value of temperature at
Explanation of Solution
Given Information:
The data is provided as,
100.00 | 90.00 | 80.00 | 70.00 | 60.00 | |
85.00 | 64.49 | 53.50 | 48.15 | 50.00 | |
70.00 | 48.90 | 38.43 | 35.03 | 40.00 | |
55.00 | 38.78 | 30.39 | 27.07 | 30.00 | |
40.00 | 35.00 | 30.00 | 25.00 | 20.00 |
Formula used:
The zero-order Newton’s interpolation formula:
The first-order/linear Newton’s interpolation formula:
The second- order/quadratic Newton’s interpolating polynomial is given by,
Where,
The first finite divided difference is,
And, the n th finite divided difference is,
Calculation:
To calculate the temperature
First use the linear interpolation formula and arrange the points as close to about
The values are,
And,
First calculate
Put in above equation,
Similarly for quadratic interpolation,
Now calculate
Put in quadratic interpolation equation,
Now, do it for cubic interpolation by the use of the formula,
Now calculate
Put in cubic interpolation equation,
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 | 38.43 | 6.028 |
1 | 44.458 | |
2 | 43.6144 | |
3 | 43.368 | |
4 | 43.48045 |
Since the minimum error for order third, therefore, it can be concluded that the value of temperature at
(b)
To calculate: The value of temperature at
100.00 | 90.00 | 80.00 | 70.00 | 60.00 | |
85.00 | 64.49 | 53.50 | 48.15 | 50.00 | |
70.00 | 48.90 | 38.43 | 35.03 | 40.00 | |
55.00 | 38.78 | 30.39 | 27.07 | 30.00 | |
40.00 | 35.00 | 30.00 | 25.00 | 20.00 |
Answer to Problem 60P
Solution:
The value of temperature at
Explanation of Solution
Given Information:
The data is provided as,
100.00 | 90.00 | 80.00 | 70.00 | 60.00 | |
85.00 | 64.49 | 53.50 | 48.15 | 50.00 | |
70.00 | 48.90 | 38.43 | 35.03 | 40.00 | |
55.00 | 38.78 | 30.39 | 27.07 | 30.00 | |
40.00 | 35.00 | 30.00 | 25.00 | 20.00 |
Formula used:
The zero-order Newton’s interpolation formula:
The first-order/linear Newton’s interpolation formula:
The second- order/quadratic Newton’s interpolating polynomial is given by,
Where,
The first finite divided difference is,
And, the n th finite divided difference is,
Calculation:
To calculate the temperature
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
The values are,
And,
First calculate
Put in above equation,
Similarly for quadratic interpolation,
Now calculate
Put in quadratic interpolation equation,
Now, do it for cubic interpolation by the use of the formula,
Now calculate
Put in cubic interpolation equation,
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 | 64.49 | |
1 | 59.0335 | |
2 | 58.411 | |
3 | 58.47032 |
Now, do this for
The values are,
And,
First calculate
Put in above equation,
Similarly for quadratic interpolation,
Now calculate
Put in quadratic interpolation equation,
Now, do it for cubic interpolation by the use of the formula,
Now calculate
Put in cubic interpolation equation,
Similarly, for
Now for the calculation for
The values are,
And,
First calculate
Put in above equation,
Similarly for quadratic interpolation,
Now calculate
Put in quadratic interpolation equation,
Now, do it for cubic interpolation by the use of the formula,
Now calculate
Put in cubic interpolation equation,
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 | 47.15 | |
1 | 46.4885 | |
2 | 46.0479875 | |
3 | 46.140425 |
Hence, the value of temperature at
This problem can also be solved with MATLAB as it contains the predefined function interp2.
The MATLAB code is as shown below,
The output in the command window is,
For more accuracy, the result can also be obtained from the bicubic interpolation as shown below,
Finally, the interpolation can also be implemented with the use of splines as shown below,
Hence, it can be concluded that the result is similar to that obtained from the calculation.
Want to see more full solutions like this?
Chapter 20 Solutions
Numerical Methods for Engineers
- At the start of a trip, the odometer on a car read 21,395. At the end of the trip, 13.5 hours later, the odometer read 22,125, Assume the scale on the odometer is in miles. What is the average speed the car traveled during this trip?arrow_forwardA piece shown by the shaded portion is to be cut from a square plate 128 millimeters on a side. a. Compute the area of the piece to be cut. Round the answer to the nearest square millimeter. b. After cutting the piece, determine the percentage of the plate that will be wasted.arrow_forwardA driver of a car stopped at a gas station to fill up his gas tank. He looked at his watch, and the time read exactly 3:40 p.m. At this time, he started pumping gas into the tank. At exactly 3:44, the tank was full and he noticed that he had pumped 10.7 gallons. What is the average rate of flow of the gasoline into the gas tank?arrow_forward
- The resistance of a copper wire carrying an electrical current is directly proportional to its length and inversely proportional to its cross-sectional area. A copper wire with a diameter of 0.0126inch has a resistance of 64.9ohms per thousand feet. What length of 0.0201-inch-diameter copper wire will produce a resistance of 33.5ohms?arrow_forward- = + % °L 2,arrow_forwardThe number of visits to public libraries increased from 1.4 billion in 1999 to 1.7 billion in 2003. Find the average rate of change in the number of public library visits from 1999 to 2003. The average rate of change between 1999 and 2003 was (Simplify your answer. Type an integer or a decimal) e to search E C billion ECER ? Timp Remaining: 01:32:26 71°F Sunny @ dal Next 6:43 AM 10/23/2022 5arrow_forward
- 1. 16m = mm %3D (6 Points)arrow_forwardYou are given: an = 9.4 ● ● Sn = 24.2 Calculate (12). A. 5.0% B. 6.1% C. 6.3% D. 6.5% E. 7.0%arrow_forwardIn the table below, which solvent has the lowest freezing point? Freezing Points of Solvents Freezing Point -69°C| Solvent Glyme Rubbing Alcohol -88°C Toluene 95°C Water 0°C Glyme Rubbing Alcohol Toluene Waterarrow_forward
- A patient takes 75 mg of medication every 12 hours but also 60% of the medication is eliminated from the blood every 12 hours. Let d, denote the amount (in mg) of medication in the bloodstream after n doses, where di = 75. cound to a nearest tenth)arrow_forwardA spy plane is cruising at an altitude of 18,250m. If the temperature at this altitude is -75C what is the barometric pressure?arrow_forward
- Mathematics For Machine TechnologyAdvanced MathISBN:9781337798310Author:Peterson, John.Publisher:Cengage Learning,Holt Mcdougal Larson Pre-algebra: Student Edition...AlgebraISBN:9780547587776Author:HOLT MCDOUGALPublisher:HOLT MCDOUGALGlencoe Algebra 1, Student Edition, 9780079039897...AlgebraISBN:9780079039897Author:CarterPublisher:McGraw Hill
- Elementary Linear Algebra (MindTap Course List)AlgebraISBN:9781305658004Author:Ron LarsonPublisher:Cengage Learning