MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Bug of Integrate


Miguel schrieb:
> When I try to calculate the integral
> 
> Integrate[Sqrt[1/Cos[t]^2]*3*Cos[t],{t,0,2Pi}]  Mathematica 6.0.1
> yields -6*Pi.
> 
> Simplifying the expresion resultrs Integrate[3,{t,0,2*Pi}] and It is
> clear that the correct solution is 6*Pi.
> 
> Is a bug of Version 6.0.1?
> 
> 

Hi Miguel,

I do not know, how you simplified the expression, but i get (with
Sqrt[z^2]==Abs[z]):

Sqrt[1/Cos[t]^2]*3*Cos[t] = 3*Sign[Cos[t]]

and the Integral is 0 (which Version 5.2 calculates correctly).

Peter


  • Prev by Date: Re: Bug of Integrate
  • Next by Date: Truncated version of lognormal distribution
  • Previous by thread: Re: Bug of Integrate
  • Next by thread: Re: Bug of Integrate