Hyperbolic equivalent of demoivre()?



On Thu, 8 Dec 2011, Raymond Toy wrote:

> You could do something like subst(X=%i*dummy, <res>), run demoivre, and
> then subst(dummy=X/%i, ...)
>
> It won't give you tanh, but it can give sinh/cosh.

Ah... thanks Raymond.  That was an important clue.  It still took a little
bit more manipulation to get to sinh/cosh, specifically:

integrate((sech(x))^2,x,0,X) ;
subst(X = %i*dummy,%) ;
demoivre(%) ;
trigexpand(%) ;
subst(dummy = X/%i,%) ;
factor(%) ;
trigsimp(%) ;

-- 

Thanks again,

Dan