Problems with intergrate



To Maxima, the symbol 'e' is not in any way special. Say, you used 'a' in
place of 'e'... what would you get if you calculated the integral by hand?

Presumably, you meant to use in place of 'e' the base of the natural
logarithm, the symbol for which is '%e' in Maxima:

(%i1) integrate(%e^(2*x)*cos(1+%e^(2*x)),x);
                                      2 x
                                sin(%e    + 1)
(%o1)                           --------------
                                      2


Viktor



-----Original Message-----
From: maxima-admin@math.utexas.edu [mailto:maxima-admin at math] On
Behalf Of Andreas Volz
Sent: Thursday, February 24, 2005 7:20 AM
To: Maxima mailing list
Subject: Problems with intergrate

Hi,

I try to integrate a function:

integrate(e^(2*x)*cos(1+e^(2*x)), x);

I calculated it on paper and get:

=1/2 * sin(1+e^(2x))+C

I think this should be the correct. If not blame me!

But maxima calculates this:

sin(e^(2*x)+1)/(2*log(e))

It's nearly the same. but why log(e)? Could you explain how maxima get
log(e) from this intergral?

regards
Andreas

_______________________________________________
Maxima mailing list
Maxima@www.math.utexas.edu
http://www.math.utexas.edu/mailman/listinfo/maxima