Please input and output in MathLab and write:
5. Input and output.
5. Create a MATLAB script to find the first and second derivative of a given function using Forward Backward, central, and Taylor numerical schemes. Test your code using the following functions:
a. f(x) = xe+3x^2+2x-1 and find f'(3) and f''(3) for 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 1.1 1.2
f(x) 0.992 0.999 1.0 1.001 1.008
Input: (copy and paste the MATLAB or Scilab script in the following box)