Question: Please solve only Question 2 in MATLAB with comment to understand. Question1: Use zero-, first-, second-, and third-order Taylor series expansions to predict f(2.5) for
Question1: Use zero-, first-, second-, and third-order Taylor series expansions to predict f(2.5) for f(x)=5x37x2+32 using a base point at x=1. Compute the true percent relative error for each approximation. Question2: Use forward and backward difference approximations of O(h) and a centered difference approximation of O(h2) to estimate the first derivative of the function examined in Question1. - Evaluate the derivative at x=3 using a step size of h=0.33. Compare your results with the true value of the derivative. - Use MATLAB to verify your answer above (Provide screenshots of MATLAB code and the output)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
