In 64bit 4.6.2 fedora13 Dell Vostro 1720
sage: numerical_integral(lambda x: cos(2*x)*cos(x),  0, pi)
(4.4478052108155282e-17, 1.3516940761795953e-14)
sage: plot(cos(2*x)*cos(x), (x, 0, pi))

Maxima and Wolfram alpha: 0

sage:  integral(cos(2*x)*cos(x), x, 0, pi)
4/3

On 15 Kwi, 05:27, Dan Drake <[email protected]> wrote:
> On Thu, 14 Apr 2011 at 07:40PM -0700, John H Palmieri wrote:
> > On Thursday, April 14, 2011 5:39:27 PM UTC-7, Michael Orlitzky wrote:
>
> > > Am I going crazy?
>
> > >   sage: integrate(cos(2*x)*cos(x), x, 0, pi)
> > >   4/3
>
> > I get zero when I compute it.  What version of Sage is this?
>
> I'm getting 4/3 in 4.6.1 and 4.6.2. In 4.7.alpha4, it's correct.
>
> Dan
>
> --
> ---  Dan Drake
> -----  http://mathsci.kaist.ac.kr/~drake
> -------
>
>  signature.asc
> < 1KWyświetlPobierz

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to