Question: copy and paste input amd output done by using matlab Create a MATLAB script to find the first and second derivative of given function using
copy and paste input amd output done by using matlabCreate a MATLAB script to find the first and second derivative of given function using Forward, Backward, central and Taylor numerical schemes. Test your code using the following functions: a. f(x) = xe' + 3x + 2x - 1 and find f(3) and f'(3) for with h = 0.1, 0.01 and 0.001 b. Approximate y' (1) and y" (1) using the following table X 0.8 0.9 1.0 f(x) 0.992 0.999 1.0 1.001 1.008 1.1 1.2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
