Question: there is any code for converting hyper-->trig?

 a while ago there is a code for changing function from trig to hyperbolic and viceversa  but i can't find that code except changind xi=I*xi there is another one?

restart

S3 := G(xi) = -(sqrt(Omega)*(tanh(sqrt(Omega)*xi)+I*sech(sqrt(Omega)*xi))+B)/(2*C); S4 := G(xi) = -(sqrt(Omega)*(tanh(sqrt(Omega)*xi)-I*sech(sqrt(Omega)*xi))+B)/(2*C)

G(xi) = -(1/2)*(Omega^(1/2)*(tanh(Omega^(1/2)*xi)-I*sech(Omega^(1/2)*xi))+B)/C

(1)

convert(rhs(S3), trig)

-(1/2)*(Omega^(1/2)*(tanh(Omega^(1/2)*xi)+I*sech(Omega^(1/2)*xi))+B)/C

(2)

NULL

Download convert.mw

Please Wait...