Gauss - Hermite quadrature
n = 7; [x,w] = gauss_her(n); I = dot(w,cos(x))
I = 1.380388447754080
Published with MATLAB® 7.5