Question: R=4Question 1(20 marks)Given the function and its first derivative as followsf(x)=e3x+x3+Rxf'(x)=3e3x+3x2+R(a) Use the forward finite-divided difference approximation to estimate the first derivative of the functionf(x)atx=-1
R=4Question 1(20 marks)Given the function and its first derivative as followsf(x)=e3x+x3+Rxf'(x)=3e3x+3x2+R(a) Use the forward finite-divided difference approximation to estimate the first derivative of the functionf(x)atx=-1 using a step size h=0.25.(b) Use the backward finite-divided difference approximation to estimate the first derivative of the functionf(x)atx=-1 using a step size h=0.25.(c) Use the centered finite-divided difference approximation to estimate the first derivative of the functionf(x)atx=-1 using a step size h=0.25.(4 marks)(d) Compute the true relative error for the approximations in(a),(b) and (c).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
