exponentials - Maple Help

convert/exp

convert trig functions to exponentials

 Calling Sequence convert(expr, exp)

Parameters

 expr - expression with trigonometric functions

Description

 • The convert/exp function converts all trigonometric functions appearing in the expression to their corresponding exponential form.

Examples

 > $\mathrm{convert}\left(\mathrm{sin}\left(x\right),\mathrm{exp}\right)$
 ${-}\frac{{I}}{{2}}{}\left({{ⅇ}}^{{I}{}{x}}{-}{{ⅇ}}^{{-I}{}{x}}\right)$ (1)
 > $\mathrm{convert}\left(\mathrm{tanh}\left(x\right),\mathrm{exp}\right)$
 $\frac{{{ⅇ}}^{{x}}{-}{{ⅇ}}^{{-}{x}}}{{{ⅇ}}^{{x}}{+}{{ⅇ}}^{{-}{x}}}$ (2)
 > $\mathrm{convert}\left(\mathrm{exp}\left({x}^{2}\right)-2\mathrm{sinh}\left({x}^{2}\right),\mathrm{exp}\right)$
 ${{ⅇ}}^{{-}{{x}}^{{2}}}$ (3)