Previous Up Next

2.21.15  Rewrite tan(x) with cos(2x) and sin(2x) : tan2cossin2

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

tan2cossin2(tan(x))

Output :

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

Previous Up Next