Question: (15 pts.) (23-21) Develop a user-friendly MATLAB program to calculate the derivative to the second order accuracy of input vectors using (a) centered finite-difference, (b)
(15 pts.) (23-21) Develop a user-friendly MATLAB program to calculate the derivative to the second order accuracy of input vectors using (a) centered finite-difference, (b) forward finite-difference, and (c) backward finite-difference methods. Test the program with the following data by finding the velocity and acceleration at t-10 seconds. Time, t, (unit: s) Position, X. (unit: m) 6. 0.7 1.8 3.4 5.1 6.3 7.3 8.0 8
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
