Previous Up Next

5.21.16  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(2x)/sin(2x) , in this expression.
Input :

tan2cossin2(tan(x))

Output :

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

Previous Up Next