[Maxima] put trig expression in form sin(k*x) WAS: Is there a way to do this in one step?
macrakis at alum.mit.edu
Sun Aug 31 20:51:20 CDT 2008
On Sun, Aug 31, 2008 at 9:42 PM, Richard Hennessy <rvh2007 at comcast.net>wrote:
> I have suppressed some outputs for brevity
> (%i1) trigexpand(sin(61*x));
> (%i2) trigreduce(%);
> (%i3) trigsimp(%);
> (%o3) sin(61*x)
Title was: [Maxima] Is there a way to do this in one step?
I assume the one step you want is %o2 -> %o3. Try trigrat.
trigrat(trigexpand(sin(61*x))) => sin(61*x)
Is that what you had in mind?
But then, you could also do it in the one step trigsimp(trigreduce(%o1)) :-)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Maxima