Previous Up Next

6.23.1  Expanding a trigonometric expression: trigexpand

The trigexpand command expands sums, differences and products by an integer inside the trigonometric functions.

Input:

trigexpand(cos(x+y))

Output:

cosx· cosy−sinx· siny

Previous Up Next