Question: For B use MATLAB please (a) With increment h = 0.1, what is the percent fractional error (compared to the actual derivative) of the second-order-accurate

For B use MATLAB please

For B use MATLAB please (a) With increment h = 0.1, what

(a) With increment h = 0.1, what is the percent fractional error (compared to the actual derivative) of the second-order-accurate centered finite-difference estimate of the derivative of f(x) = cos() at r = 1? (b) Repeat for the derivative estimated by differentiating the interpolat- ing cubic polynomial (using polyfit, polyder, polyval in Matlab) that goes through the function values at r=0.7.0.9, 1.1, 1.3 (c) Repeat for the derivative estimated using Richardson extrapolation with initial increment ho = 0.4 and 3 levels (i.e. (using the notation in the lecture notes) up to jmax = 2). (a) With increment h = 0.1, what is the percent fractional error (compared to the actual derivative) of the second-order-accurate centered finite-difference estimate of the derivative of f(x) = cos() at r = 1? (b) Repeat for the derivative estimated by differentiating the interpolat- ing cubic polynomial (using polyfit, polyder, polyval in Matlab) that goes through the function values at r=0.7.0.9, 1.1, 1.3 (c) Repeat for the derivative estimated using Richardson extrapolation with initial increment ho = 0.4 and 3 levels (i.e. (using the notation in the lecture notes) up to jmax = 2)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!