Question: Write a MATLAB function that takes in a function f and three values a, b, and n and calculates the first and second derivatives of
Write a MATLAB function that takes in a function f and three values a, b, and n and calculates the first and second derivatives of f at approximately n points between a and b. Use central difference differentiation. It should return both the points where each derivative is being computed as well as the column vectors of the values of the derivatives at those points
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
