convert/expsincos
convert trig functions to exp, sin, cos
Calling Sequence
Parameters
Description
Examples
convert(expr, 'expsincos', x)
expr
-
expression with trigonometric functions
x
(optional) name or a list or set of names
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, tan⁡s 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.
convert⁡cot⁡x,expsincos
cos⁡xsin⁡x
convert⁡sinh⁡x,expsincos
ⅇx2−12⁢ⅇx
convert⁡tan⁡s+sec⁡t,expsincos
sin⁡scos⁡s+1cos⁡t
convert⁡tan⁡s+sec⁡t,expsincos,s
sin⁡scos⁡s+sec⁡t
See Also
convert
convert/exp
convert/sincos
depends
exp
trig
Download Help Document