5. Use least-squares regression to fit a straight line to data given in table. Show data and line in the same graph. Give equation of the fitted line. 0 3 5 9 15 17 5 6 7 9 11 12 X y 12 8 19 14

Advanced Engineering Mathematics
10th Edition
ISBN:9780470458365
Author:Erwin Kreyszig
Publisher:Erwin Kreyszig
Chapter2: Second-order Linear Odes
Section: Chapter Questions
Problem 1RQ
icon
Related questions
Question
5. Use least-squares regression to fit a straight line to data given in table.
Show data and line in the same graph. Give equation of the fitted line.
0
3
9
15
17
5
6
9
11
12
X
y
5
7
V(knots) 6
7
9
P (kW) 170 270 400 560
12
8
6. Fit a straight line, a parabola and a cubic equation to the speed power data
of a ship. Compare your results. (use matlab, excel etc. to obtain graph and
relation)
10
770
19
14
11 12 13 14 15
1030 1360 1800 2350 3100
7. Estimate the first derivative the function f(x) = e* cosx, at x=2.0
employing step sizes of h= 0.25. Use centered finite divided difference
formulas with 2 and 4 point. Compare your results with true value.
Estimate error, &t.
Transcribed Image Text:5. Use least-squares regression to fit a straight line to data given in table. Show data and line in the same graph. Give equation of the fitted line. 0 3 9 15 17 5 6 9 11 12 X y 5 7 V(knots) 6 7 9 P (kW) 170 270 400 560 12 8 6. Fit a straight line, a parabola and a cubic equation to the speed power data of a ship. Compare your results. (use matlab, excel etc. to obtain graph and relation) 10 770 19 14 11 12 13 14 15 1030 1360 1800 2350 3100 7. Estimate the first derivative the function f(x) = e* cosx, at x=2.0 employing step sizes of h= 0.25. Use centered finite divided difference formulas with 2 and 4 point. Compare your results with true value. Estimate error, &t.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Advanced Engineering Mathematics
Advanced Engineering Mathematics
Advanced Math
ISBN:
9780470458365
Author:
Erwin Kreyszig
Publisher:
Wiley, John & Sons, Incorporated
Numerical Methods for Engineers
Numerical Methods for Engineers
Advanced Math
ISBN:
9780073397924
Author:
Steven C. Chapra Dr., Raymond P. Canale
Publisher:
McGraw-Hill Education
Introductory Mathematics for Engineering Applicat…
Introductory Mathematics for Engineering Applicat…
Advanced Math
ISBN:
9781118141809
Author:
Nathan Klingbeil
Publisher:
WILEY
Mathematics For Machine Technology
Mathematics For Machine Technology
Advanced Math
ISBN:
9781337798310
Author:
Peterson, John.
Publisher:
Cengage Learning,
Basic Technical Mathematics
Basic Technical Mathematics
Advanced Math
ISBN:
9780134437705
Author:
Washington
Publisher:
PEARSON
Topology
Topology
Advanced Math
ISBN:
9780134689517
Author:
Munkres, James R.
Publisher:
Pearson,