Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1995

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Sinh, Cosh and all that

  • Subject: [mg2238] Re: Sinh, Cosh and all that
  • From: albright at ("Brian J. Albright")
  • Date: Wed, 18 Oct 1995 05:53:56 GMT
  • Approved:
  • Distribution: local
  • Newsgroups: wri.mathgroup
  • Organization: UCLA Department of Physics and Astronomy
  • Sender: daemon at ( )

Kenny Breuer <breuer at> wrote:
>I'm looking for a set of transformation rules that will convert
>expoentials to hyperbolic functions (analagous to the function
>ComplexToTrig in the Trigonometry package)
>For example:
>In:	ConvertToHyp[ Exp[3x] + Exp[-3x] ]
>Out:   2 Cosh[3x]
>Kenny Breuer


Perhaps you might try

  In[1]:= ExpToHyp[x_] := x //. Exp[a_] -> (Cosh[a] + Sinh[a])


  In[2]:= ExpToHyp[ Exp[s] - Exp[-s] + Exp[3 x] + Exp[-3 x] ]

  Out[2]:= 2 Cosh[3 x] + 2 Sinh[s]


Brian J. Albright                            |
Department of Physics and Astronomy, UCLA    |      To err is human...
albright at                    |         to err really big       |             is government.

  • Prev by Date: Re: color in ListContourPlot
  • Next by Date: Re: Deleting more subtle then Clear[ ] ?
  • Previous by thread: Sinh, Cosh and all that
  • Next by thread: Re: Sinh, Cosh and all that