Question: Data is fitted to a cubic f = ax 3 + bx 2 + cx + d with the slope of the curve given by

Data is fitted to a cubic f = ax3 + bx2 + cx + d with the slope of the curve given by f' = 3ax2 + 2bx + c If f1 = f(x1), f2 = f(x2), f '1 = f'(x1) and f´2 = f´(x2), show that fitting the data gives the matrix equation for a, b, c and d as

fi f || x 2 x 2 x  2x 3x2x 1 0 3x 1 a b 1 0 C d

Use Gaussian elimination to evaluate a, b, c and d. For the case

X 0.4 0.8 f 0.327 54 0.404 90 0.511 73 -0.054 14

evaluate a, b, c and d. Plot the cubic and estimate the maximum value of f in the region 0 1. Note that this exercise forms the basis of one of the standard methods for finding the maximum of a function f(x) numerically.

Step by Step Solution

3.39 Rating (155 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Fitting the data to the cubic approximation to f and f gives the matr... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Modern Engineering Mathematics Questions!