Dear all,<br><br>Let's integrate:<br><br>function y=f(x, a, sigma),y=(1/sqrt(2*%pi))*log(abs(a+sigma*x))*exp(-(x^2)/2),endfunction<br><br>out=intg(-1e+2,1e+2,list(f,1,.1))<br><br>out=8.605D-49 <br><br>but Wolfram Alpha gives out= -0.111<br>
<br>which is a totally different answer. <br><br>I've noticed that intg and integrate incline to give values close to zero when boundaries tend to infinity. So, I trust Wolfram Alpha more. How to get around the apparent mistakes in intg, integrate (particularly, I'm interested in indefinite integrals)?<br>
<br>Gin.<br><br><br>