9.2.6 Simplifying trigonometric expressions
The trigsimplify
command simplifies trigonometric expressions
by combining simplify (see Section 9.1.3),
texpand (see Section 9.4.1), tlin (see
Section 9.2.2), tcollect (see Section 9.2.4),
trigsin (see Section 9.2.23), trigcos (see
Section 9.2.24) and trigtan (see
Section 9.2.25) commands in a certain order.
-
trigsimplify takes
expr, an argument containing trigonometric functions.
- trigsimplify(expr) returns the
simplified form of expr.
Examples
trigsimplify((sin(x+y)-sin(x-y))/(cos(x+y)+cos(x-y))) |
trigsimplify(1-1/4*sin(2a)^2-sin(b)^2-cos(a)^4) |