Previous Up Next

10.2.1  Expanding a trigonometric expression

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

trigexpand(cos(x+y))
     
cosx cosy−sinx siny           

Previous Up Next