[Maxima] Sort by Frequency

Stefan Joeres not_me at gmx.de
Mon Dec 3 15:56:22 CST 2007


Hi, 

I've got a series of equations like
x:cos(w1)+cos(w2);
y:a1*x+a3*x^3;

Using trigreduce(y) leads to
terms of cos(w1), cos(w2), cos(2*w1+w2) ... and so on.
I'd like to sort these terms according to those cos() coefficients.
How to do ? :)

Regards,

Stefan


More information about the Maxima mailing list