do trip has maple's expand command?

23 views
Skip to first unread message

Mari Yaganova

unread,
Dec 7, 2009, 1:47:37 PM12/7/09
to trip-support
I have a problem.
I need to convert
cos(2*sin(x)+3*cos(x))
to
8*cos(sin(x))^2*cos(cos(x))^3-6*cos(sin(x))^2*cos(cos(x))-4*cos(cos(x))
^3+3*cos(cos(x))-8*sin(sin(x))*
cos(sin(x))*sin(cos(x))*cos(cos(x))^2+2*sin(sin(x))*cos(sin(x))*sin(cos
(x))

this can be done in maple using
expand(%, trig)

i need to do this in TRIP, because in my case the function is too
complicated for maple to handle,
that is why i am trying to use trip.

Help me please.

Mickael Gastineau

unread,
Dec 7, 2009, 2:33:24 PM12/7/09
to trip-support
TRIP can't handle expression , such as " cos(sin(x))" when x is
symbolic. It can handle it when x is a numerical vector.
If x is symbolic, it can handle expression such as "cos(4*x)".

Mickael,
Reply all
Reply to author
Forward
0 new messages