Discretization basics for range of dx
Objective: Objective: To compute the first, second and fourth-order approximations for a given value of x. For this program, you need to do the following.1. For a range of dx, plot the first order, second and fourth-order error.2. Make sure that you plot dx vs error in a way that makes sense.3. Explain the results in the space provided.…