09-Aug-2024 21:51:21 quad_gauss_test(): MATLAB/Octave version 6.4.0 quad_gauss() is an interactive program which applies an n-point Gauss rule to estimate the integral of a function f(x) over the interval [a,b]. Estimate integral ( 0.000000 < x < 1.000000 ) x.^2 dx quad_gauss: n = 2, integral estimate q = 0.3333333333333334 Estimate integral ( 0.0 < x < 2.0 ) sqrt(x) dx quad_gauss: n = 5, integral estimate q = 1.887400340228169 Estimate integral ( 0.0 < x < 2.0 ) humps(x) dx quad_gauss: n = 1, integral estimate q = 32.00000000000001 quad_gauss: n = 2, integral estimate q = 34.27858627858622 quad_gauss: n = 4, integral estimate q = 13.4796679461657 quad_gauss: n = 8, integral estimate q = 24.45403869392584 quad_gauss: n = 16, integral estimate q = 28.73268846691569 quad_gauss: n = 32, integral estimate q = 29.31914806313172 quad_gauss: n = 64, integral estimate q = 29.32621394352225 quad_gauss: n = 128, integral estimate q = 29.32621380439112 quad_gauss: n = 256, integral estimate q = 29.32621380439114 quad_gauss_test(): Normal end of execution. 09-Aug-2024 21:51:25