Previous Up Next

2.21.14  Rewrite tan(x) with sin(2x) and cos(2x) : tan2sincos2

tan2sincos2 takes as argument an expression containing trigonometric functions.
tan2sincos2 replaces tan(x) by sin(2.x)/1+cos(2.x), in this expression.
Input :

tan2sincos2(tan(x))

Output :

sin(2*x)/(1+cos(2*x))

Previous Up Next