Previous Up Next

5.21.6  Simplify trigonometric expressions : trigsimplify

trigsimplify simplifies trigonometric expressions by combining simplify, texpand, tlin, tcollect, trigsin, trigcos and trigtan commands in a certain order.
Input :

trigsimplify((sin(x+y)-sin(x-y))/(cos(x+y)+cos(x-y)))

Output :

tan(4*x/3)

Input :

trigsimplify(1-1/4*sin(2a)^2-sin(b)^2-cos(a)^4)

Output :

sin(a)^2-sin(b)^2

Previous Up Next