Previous Up Next

2.21.2  Expand a trigonometric expression : trigexpand

trigexpand takes as argument an expression containing trigonometric functions.
trigexpand expands sums, differences and products by an integer inside the trigonometric functions
Input :

trigexpand(cos(x+y))

Output :

cos(x)*cos(y)-sin(x)*sin(y)

Previous Up Next