halftan_hyp2exp takes as argument a trigonometric and
hyperbolic expression.
halftan_hyp2exp rewrites sin(x), cos(x), tan(x)
in terms of tan(x/2)
and sinh(x), cosh(x), tanh(x) in terms of exp(x).
Input :
Output :
^2))+(((exp(x))^2-1))/ (((exp(x))^2+1))Input :
^2+cos(x)^2-sinh(x)^2+cosh(x)^2)Output, after simplification with normal(ans()) :