Bug integrating

*To*: mathgroup at smc.vnet.net*Subject*: [mg28824] Bug integrating*From*: Mariano <mmateos at fourier.geol.uniovi.es>*Date*: Tue, 15 May 2001 00:58:57 -0400 (EDT)*Organization*: Universidad de Oviedo*Sender*: owner-wri-mathgroup at wolfram.com

Hola If you make by hand the integral Integrate[Cos[x]/Sqrt[-Log[Sin[x]]], {x, 0, Pi/2}] it is Sqrt[Pi], which is the right value. (Make the change Sin[x]=Exp[-t] and it goes Gamma[1/2]). But Mathematica CANNOT DO THIS: Its says -Sqrt[Pi] !!! If you write it as Integrate [Cos[x]/Sqrt[Log[1/Sin[x]]], {x, 0, Pi/2}] Mathematica will get the right value Try it Saludos Mariano