Question: undefined Consider the function f(x) = 1.2 0.25x 0.5x2 0.15x3 + 0.1.x4; (1) a. Plot f as a function of x in the region (-5,5).
undefined
Consider the function f(x) = 1.2 0.25x 0.5x2 0.15x3 + 0.1.x4; (1) a. Plot f as a function of x in the region (-5,5). Label axes properly. How many roots does f(x) = 0 have? (2 Points) b. Choose a point in the region (-5, 5]. Use the functions you wrote in Problem 1 and 2 to calculate the absolute error in the derivative at this point for the forward derivative approximation, backward derivative approximation, and central derivative approximation. Plot the absolute error v/s Ax for the three approximations. You should get a plot similar to the one shown on the next page. (5 Points) Consider the function f(x) = 1.2 0.25x 0.5x2 0.15x3 + 0.1.x4; (1) a. Plot f as a function of x in the region (-5,5). Label axes properly. How many roots does f(x) = 0 have? (2 Points) b. Choose a point in the region (-5, 5]. Use the functions you wrote in Problem 1 and 2 to calculate the absolute error in the derivative at this point for the forward derivative approximation, backward derivative approximation, and central derivative approximation. Plot the absolute error v/s Ax for the three approximations. You should get a plot similar to the one shown on the next page. (5 Points)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
