
O = '---- 1e6 steps using midpoint0 ---- = O'
t0 = cputime;
err = midpoint0(@circle, 0, 1, 1e6)*4 - pi
execution_time = cputime - t0

O = '---- 1e6 steps using midpoint1 ---- = O'
t0 = cputime;
err = midpoint1(@circle, 0, 1, 1e6)*4 - pi
execution_time = cputime - t0

O = '---- 1e8 steps using midpoint1 ---- = O'
t0 = cputime;
err = midpoint1(@circle, 0, 1, 1e8)*4 - pi
execution_time = cputime - t0

