Question: Using matlab 3. Use finite difference formulas 6.14,6.18, 6.27, 6.40 (Dunn & Constantinides book) with equally spaced forward and backward points with distance h 0.4,




Using matlab
3. Use finite difference formulas 6.14,6.18, 6.27, 6.40 (Dunn & Constantinides book) with equally spaced forward and backward points with distance h 0.4, 0.2, 0.1, 0.05, 0.025 to estimate the derivative of the function y-2x^3 at x-2. Plot the error you get utilizing each equation versus increment size h Error of order h dr h (6.14) (6.15) de h (6.16) (6.17) dr h Error of order h dy, 1 i-3 dx 2h (6.18) d2 (6.19) 6.4 FORWARD FINITE DIFFERENCES 175 Table 6.2 Derivatives in terms of forward finite differences Error of order h (6.27) dr h (6.28) i+l (6 20 Table 6.3 Derivatives in terms of central finite differences Error of order h (6.40) (6.41) (6.42) Do more with Microsoft Edge-the fast, new browser built for Windows 10. Change my default Don't ask again
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
