% question4b.m f = @(x) sin(x)/x romberg(f,1.3, 2.19, 8) f = @(u) 2*sin(u*u) romberg(f, 0, 1, 8)