07-Jan-2022 18:59:36 diff2_center_test(): MATLAB/Octave version 9.8.0.1380330 (R2020a) Update 2 Test diff2_center(): For f(x)=sin(x), estimate f'(0.785398) Exact value is -0.707107 H Estimate 1.00000000 -0.650111 0.50000000 -0.692498 0.25000000 -0.703432 0.12500000 -0.706187 0.06250000 -0.706877 0.03125000 -0.707049 0.01562500 -0.707092 0.00781250 -0.707103 0.00390625 -0.707106 0.00195312 -0.707107 Estimate f"(x) for sin(x) over [0,pi] at 10 points, using h = 0.349066 Plot exact and estimated second derivatives. Graphics saved as "diff2_center.png" diff2_center_test(): Normal end of execution. 07-Jan-2022 18:59:45