Question: i need C++ program HW1 Compute the first and second derivative of the following function at 2 points in the specified intervals f(x)= x?cosx; x=[0,4]:h=(0.5,0.25,0.125]
HW1 Compute the first and second derivative of the following function at 2 points in the specified intervals f(x)= x?cosx; x=[0,4]:h=(0.5,0.25,0.125] using Forward difference (ll) Backward difference (1) Central difference (iv) Richardson extrapolation and compare them with the analytic results
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
