function y = invSqrt(x) % a very tough function for quadrature % used to test adaptive quadratures % Its integral from 0 to 1 is exactly 2. % K. Ming Leung, 03/02.03 y = 1./sqrt(x);