and the derivative of both gives back cos(x)*sin(x)
On 5/15/07, Andrey G. Grozin <A.G.Grozin at inp.nsk.su> wrote:
> On Tue, 15 May 2007, Doug Stewart wrote:
> > I was showing my students how to use Maxima to check their homework.
> >
> > When I got to this part of the example I got a surprise.
> > integrate(sin(x)*cos(x),x)
> >
> > maxima said it was -cos^2(x)/2 and my book said it was sin^2(x)/2 so I
> > looked it up in shaums formula book
> > and it said sin^2(x)/2.
> These 2 results differ by a constant, and therefore are equally correct.
>
> Andrey
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>