07-Jan-2022 19:00:12 diff_forward_test(): MATLAB/Octave version 9.8.0.1380330 (R2020a) Update 2 Test diff_forward(): For f(x)=sin(x), estimate f'(0.785398) Exact value is 0.707107 H Estimate 1.00000000 0.269954 0.50000000 0.504886 0.25000000 0.611835 0.12500000 0.66113 0.06250000 0.684557 0.03125000 0.695944 0.01562500 0.701554 0.00781250 0.704337 0.00390625 0.705724 0.00195312 0.706416 Estimate f'(x) for humps function over [0,2] at 26 points, using h = 0.080000 Plot exact and estimated derivatives. Graphics saved as "diff_humps.png" diff_forward_test(): Normal end of execution. 07-Jan-2022 19:00:22