function f=oneOverX(x) % Another function to test quadratures % It is smooth and so should be easy to find its integral. % Its integral from 1 to 2 is exactly ln(2). % K. Ming Leung, 03/02/03 f=1./x;