PLEASE ALSO SHOW THE MATLAB FILE FOR C)
(a) Use the Taylor series expansion to derive a three-point finite difference formula that evaluates the first derivative dy/dx at point x=x; with given points (Xi, yi), (Xi+1, Yi+1), (Xi+2, Yi+2), which are not equally spaced. Use three terms of the series plus the remainder. (b) Derive for the case when the spacing between the points is equal, a simpler finite difference formula. (c) Use the data in the table to derive in a Matlab scipt the derivative of the point x=xi. No Matlab build-in function is allowed to be used. Submit for (a) and (b) your hand calculations and for (c) your Matlab files. Xi Xi+2 Xi+1 5.58 уі 8.08 Yi+1 8.12 Yi+2 8.15 5.49 5.63
PLEASE ALSO SHOW THE MATLAB FILE FOR C)
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am