Tutorial on simplification?



> I had no idea until today that the TRIGRAT function existed.

Trigrat is great, but be sure that you realize its *documented* limitations:

TRIGRAT (trigexp) gives a canonical simplifyed quasilinear form of a
trigonometrical expression; trigexp is a rational fraction of several
sin, cos or tan, the arguments of them are linear forms in some
variables (or kernels) and %pi/n (n integer) with integer
coefficients. The result is a simplifyed fraction with numerator and
denominator linear in sin and cos. Thus TRIGRAT linearize always when
it is possible.

Unlike most Maxima functions, Trigrat does not give an error or an
unsimplified result if passed an incorrect argument. For example,
trigrat(sqrt(sin(x))) returns an expression with value 0 everywere;
trigrat(sin(sin(x))) gives a correct but more complicated result.

           -s