Question: Problem 2: Consider the following function: I f(x) = -0.1x- 0.15x3 -0.5x2 -0.25x + 1.2 a. Use the Central Difference Method to estimate the


Problem 2: Consider the following function: I f(x) = -0.1x- 0.15x3 -0.5x2

Problem 2: Consider the following function: I f(x) = -0.1x- 0.15x3 -0.5x2 -0.25x + 1.2 a. Use the Central Difference Method to estimate the first derivative of at x = 0.5. Start the computation at h = 1, then progressively divide the step size by a factor of 10 to demonstrate how the True Percent Error (roundoff error) becomes dominant as the step size is reduced. Plot the step size vs. the error. Hint: Use the loglog built-in function when plotting.

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 Mechanical Engineering Questions!