convert/exp - Maple Programming Help

# Online Help

###### All Products    Maple    MapleSim

Home : Support : Online Help : Programming : Data Types : Conversion : convert/exp

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{{1}}{{2}}{}{I}{}\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({ⅇ}^{{x}^{2}}-2\mathrm{sinh}\left({x}^{2}\right),\mathrm{exp}\right)$
 ${{ⅇ}}^{{-}{{x}}^{{2}}}$ (3)

 See Also

## Was this information helpful?

 Please add your Comment (Optional) E-mail Address (Optional) What is ? This question helps us to combat spam