8/12/19

TRIGREDUCE :: Combines products and powers of trigonometric and hyperbolic

maxima maxima_trigreduce

Function: trigreduce (expr, x)

Function: trigreduce (expr)

  • Combines products and powers of trigonometric and hyperbolic

Example:

    (%i) trigreduce(sin(x)^2);
    (%o) (1-cos(2*x))/2
    (%i) trigreduce(sin(x)^3);
    (%o) (3*sin(x)-sin(3*x))/4

    (%i) trigreduce(cos(x)^2);
    (%o) (cos(2*x)+1)/2
    (%i) trigreduce(cos(x)^3);
    (%o) (cos(3*x)+3*cos(x))/4

    (%i) trigreduce(-sin(x)^2+3*cos(x)^2+x);
    (%o) cos(2*x)/2+3*(cos(2*x)/2+1/2)+x-1/2

See Also ...

maxima maxima_trigreduce