Hi Alexandre,

On Tue, Mar 10, 2009 at 4:35 AM, [email protected]
<[email protected]> wrote:
> cos(q1)*cos(q2) - sin(q1)*sin(q2)
>
> to obtain the following result : cos(q1+q2) ?

We don't have the Maxima function trigreduce wrapped in Sage, but you
can access it like this:

sage: f = cos(q1)*cos(q2) - sin(q1)*sin(q2)
sage: maxima(f).trigreduce().sage()
cos(q2 + q1)

--Mike

--~--~---------~--~----~------------~-------~--~----~
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
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to