 exp, sin, cos - Maple Help

convert/expsincos

convert trig functions to exp, sin, cos Calling Sequence convert(expr, 'expsincos', x) Parameters

 expr - expression with trigonometric functions x - (optional) name or a list or set of names Description

 • The convert(expr, 'expsincos') calling sequence converts all trigonometric functions appearing in the expression to sin and cos, and converts all hyperbolic trigonometric functions to exponential form. For example, $\mathrm{tan}\left(s\right)$ is replaced by sin(s)/cos(s).
 • If the optional variable x, which can be a name or a list or set of names, is specified, then only those expressions that depend (in the sense of the procedure depends) on x are affected. Examples

 > $\mathrm{convert}\left(\mathrm{cot}\left(x\right),'\mathrm{expsincos}'\right)$
 $\frac{{\mathrm{cos}}{}\left({x}\right)}{{\mathrm{sin}}{}\left({x}\right)}$ (1)
 > $\mathrm{convert}\left(\mathrm{sinh}\left(x\right),'\mathrm{expsincos}'\right)$
 $\frac{{{ⅇ}}^{{x}}}{{2}}{-}\frac{{1}}{{2}{}{{ⅇ}}^{{x}}}$ (2)
 > $\mathrm{convert}\left(\mathrm{tan}\left(s\right)+\mathrm{sec}\left(t\right),'\mathrm{expsincos}'\right)$
 $\frac{{\mathrm{sin}}{}\left({s}\right)}{{\mathrm{cos}}{}\left({s}\right)}{+}\frac{{1}}{{\mathrm{cos}}{}\left({t}\right)}$ (3)
 > $\mathrm{convert}\left(\mathrm{tan}\left(s\right)+\mathrm{sec}\left(t\right),'\mathrm{expsincos}',s\right)$
 $\frac{{\mathrm{sin}}{}\left({s}\right)}{{\mathrm{cos}}{}\left({s}\right)}{+}{\mathrm{sec}}{}\left({t}\right)$ (4)