EBK NUMERICAL METHODS FOR ENGINEERS
EBK NUMERICAL METHODS FOR ENGINEERS
7th Edition
ISBN: 9780100254145
Author: Chapra
Publisher: YUZU
bartleby

Concept explainers

bartleby

Videos

Textbook Question
Book Icon
Chapter 17, Problem 22P

Recompute the regression fits from Probs. (a) 17.3 and (b) 17.17, using the matrix approach. Estimate the standard errors and develop 90% confidence intervals for the coefficients.

(a)

Expert Solution
Check Mark
To determine

To calculate: The coefficient of the regression fit equation of the given databy the use of matrix approach and then calculate standard error and 90% confidence levels for the coefficient.

x 0 2 4 6 9 11 12 15 17 19
y 5 6 7 6 9 8 7 10 12 12

Answer to Problem 22P

Solution:

The value of coefficient by the use of matrix approach is 4.8515and0.35247, the standard error for the coefficient is 1.065 and 90% confidence levels for the coefficient a0anda1 is,

[3.6951,6.0080]and[0.2501,0.4548]

Explanation of Solution

Given Information:

The data is,

x 0 2 4 6 9 11 12 15 17 19
y 5 6 7 6 9 8 7 10 12 12

Calculation:

The coefficient of the regression fit equation can be found out by the Matrix approach by following the below steps,

Step 1. First make Z matrix that contain column of ones in the first column and in the second column x value is shown.

Step 2. Now the coefficient of normal equation is made.

Step 3. Now compute the normal equation of the right hand side that is y data.

Step 4. The coefficient of the model can be found out by taking inverse of the result obtained in step 2 and step 3.

The following MATLAB will perform the desired steps,

% x data is given.

X=[024691112151719]';

% y data is given.

Y=[5676987101212]';

On the command window, write this command as,

EBK NUMERICAL METHODS FOR ENGINEERS, Chapter 17, Problem 22P , additional homework tip  1

Now, the coefficient of normal equation is calculated as,

EBK NUMERICAL METHODS FOR ENGINEERS, Chapter 17, Problem 22P , additional homework tip  2

Now, the normal equation of y is calculated as,

EBK NUMERICAL METHODS FOR ENGINEERS, Chapter 17, Problem 22P , additional homework tip  3

Finally, the coefficient of the model can be found out,

EBK NUMERICAL METHODS FOR ENGINEERS, Chapter 17, Problem 22P , additional homework tip  4

Therefore, the value of coefficientis 4.8515and0.35247.

Now, for calculating the standard error follow these commands,

EBK NUMERICAL METHODS FOR ENGINEERS, Chapter 17, Problem 22P , additional homework tip  5

Now calculate r2 value,

EBK NUMERICAL METHODS FOR ENGINEERS, Chapter 17, Problem 22P , additional homework tip  6

The standard error of the given data is 1.065.

Now for calculating 90% confidence levels for the coefficient, first calculate the inverse of [Z]T[Z] as,

EBK NUMERICAL METHODS FOR ENGINEERS, Chapter 17, Problem 22P , additional homework tip  7

Then the standard error of each coefficient,

EBK NUMERICAL METHODS FOR ENGINEERS, Chapter 17, Problem 22P , additional homework tip  8

Thevalue of TINV(0.1,102)=TINV(0.1,8)=1.8595 is determined by the statistic t value calculator. Therefore, the 90% confidence levels for the coefficient is,

EBK NUMERICAL METHODS FOR ENGINEERS, Chapter 17, Problem 22P , additional homework tip  9

Hence, the 90% confidence levels for the coefficient a0anda1 is [3.6951,6.0080]and[0.2501,0.4548] respectively.

(b)

Expert Solution
Check Mark
To determine

To calculate: The coefficient of the regression fit cubic equation of the given databy the use of matrix approach and then calculate standard error and 90% confidence levels for the coefficient.

x 3 4 5 7 8 9 11 12
y 1.6 3.6 4.4 3.4 2.2 2.8 3.8 4.6

Answer to Problem 22P

Solution:

The value of coefficient by the use of matrix approach is 11.4887,7.1438,1.0412and0.0467, the standard error for the coefficient is 0.57 and 90% confidence levels for the coefficient a0,a1,a2anda3 is,

[20.0253,2.9521],[3.0378,11.2498],[1.6302,0.4522]and[0.0208,0.0726].

Explanation of Solution

Given Information:

The data is,

x 3 4 5 7 8 9 11 12
y 1.6 3.6 4.4 3.4 2.2 2.8 3.8 4.6

Calculation:

The coefficient of the regression fit equation can be found out by the Matrix approach by following the below steps,

Step 1. First make Z matrix that contain column of ones in the first column and in the second column x value is shown.

Step 2. Now the coefficient of normal equation is made.

Step 3. Now compute the normal equation of the right hand side that is y data.

Step 4. The coefficient of the model can be found out by taking inverse of the result obtained in step 2 and step 3.

The following MATLAB will perform the desired steps,

% x data is given.

X=[3457891112]';

% y data is given.

Y=[1.63.64.43.42.22.83.84.6]';

On the command window, write this commandfor cubic equation as,

EBK NUMERICAL METHODS FOR ENGINEERS, Chapter 17, Problem 22P , additional homework tip  10

Now, the coefficient of normal equation is calculated as,

EBK NUMERICAL METHODS FOR ENGINEERS, Chapter 17, Problem 22P , additional homework tip  11

Now, the normal equation of y is calculated as,

EBK NUMERICAL METHODS FOR ENGINEERS, Chapter 17, Problem 22P , additional homework tip  12

Finally, the coefficient of the model can be found out,

EBK NUMERICAL METHODS FOR ENGINEERS, Chapter 17, Problem 22P , additional homework tip  13

Therefore, the value of coefficient is 11.4887,7.1438,1.0412and0.0467.

Now, for calculating the standard error follow these commands,

EBK NUMERICAL METHODS FOR ENGINEERS, Chapter 17, Problem 22P , additional homework tip  14

The standard error of the given data is 0.57.

Now for calculating 90% confidence levels for the coefficient, first calculate the inverse of [Z]T[Z] as,

EBK NUMERICAL METHODS FOR ENGINEERS, Chapter 17, Problem 22P , additional homework tip  15

Then the standard error of each coefficient,

EBK NUMERICAL METHODS FOR ENGINEERS, Chapter 17, Problem 22P , additional homework tip  16

The value of TINV(0.1,84)=TINV(0.1,4)=2.13185 is determined by the statistic t value calculator. Therefore, the 90% confidence levels for the coefficient is,

EBK NUMERICAL METHODS FOR ENGINEERS, Chapter 17, Problem 22P , additional homework tip  17

And,

EBK NUMERICAL METHODS FOR ENGINEERS, Chapter 17, Problem 22P , additional homework tip  18

Hence, the 90% confidence levels for the coefficient a0,a1,a2anda3 is,

[20.0253,2.9521],[3.0378,11.2498],[1.6302,0.4522]and[0.0208,0.0726] respectively.

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 following data have the form of exponential function y = a*Exp(x), where Exp(x) denotes the exponential operation of x. Find the nearest regression equation. In the answer, 1.00e0.5x represents 1.00*e^0.5x = 1.00*Exp(0.5x) Y: 0.4, 1, 4, 36 X: 0.2, 2, 4, 8 y = 1.00e0.06x All solutions are not correct O y = 0.35e0.58x O y = 1.35e1.5x
In the regression equation, -49.56 + 0.97x, the slope is -0.97 B. 1.00 0.97 D. 49.56
WLEY 6-44. The data that follow are DC output from a windmill (y) and wind velocity (x). (a) Draw a scatter diagram of these data. What type of rela- tionship seems appropriate in relating y to x? (b) Fit a simple linear regression model to these data. (c) Test for significance of regression using a = 0.05. What conclusions can you draw? (d) Plot the residuals from the simple linear regression model versus y, and versus wind velocity x. What do you con- clude about model adequacy? (e) Based on the analysis, propose another model relating y to.x. Justify why this model seems reasonable. (f) Fit the regression model you have proposed in part (e). Test for significance of regression (use a = 0.05), and graphically analyze the residuals from this model. What can you conclude about model adequacy? Observation Number 1 NM & in eor 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 Wind Velocity (MPH), x 5.00 6.00 3.40 2.70 10.00 9.70 9.55 3.05 8.15 6.20 2.90 6.35 4.60 5.80 7.40…

Chapter 17 Solutions

EBK NUMERICAL METHODS FOR ENGINEERS

Knowledge Booster
Background pattern image
Mechanical Engineering
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, mechanical-engineering and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Elements Of Electromagnetics
Mechanical Engineering
ISBN:9780190698614
Author:Sadiku, Matthew N. O.
Publisher:Oxford University Press
Text book image
Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:9780134319650
Author:Russell C. Hibbeler
Publisher:PEARSON
Text book image
Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:9781259822674
Author:Yunus A. Cengel Dr., Michael A. Boles
Publisher:McGraw-Hill Education
Text book image
Control Systems Engineering
Mechanical Engineering
ISBN:9781118170519
Author:Norman S. Nise
Publisher:WILEY
Text book image
Mechanics of Materials (MindTap Course List)
Mechanical Engineering
ISBN:9781337093347
Author:Barry J. Goodno, James M. Gere
Publisher:Cengage Learning
Text book image
Engineering Mechanics: Statics
Mechanical Engineering
ISBN:9781118807330
Author:James L. Meriam, L. G. Kraige, J. N. Bolton
Publisher:WILEY
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