integrate(sin(x)*cos(x),x)



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.

So I then plotted up a graph in Octave and was convinced that Maxima is 
wrong.

I then submitted a bug report and someone replied and told me that I 
should take a course in basic calculus.


"

Date: 2007-05-15 17:21
Sender: nobody
Logged In: NO 

Of course it?s NOT wrong!

Differentiate the result and see yourself ...  

(and BTW, take a course in elementary calculus ;-))"

What do the experts here say?????

Doug Stewart B.E.Sc P.Eng.