exp, sin, cos - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


convert/expsincos

convert trig functions to exp, sin, cos

 

Calling Sequence

Parameters

Description

Examples

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, 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.

Examples

> 

convert⁡cot⁡x,expsincos

cos⁡xsin⁡x

(1)
> 

convert⁡sinh⁡x,expsincos

ⅇx2−12⁢ⅇx

(2)
> 

convert⁡tan⁡s+sec⁡t,expsincos

sin⁡scos⁡s+1cos⁡t

(3)
> 

convert⁡tan⁡s+sec⁡t,expsincos,s

sin⁡scos⁡s+sec⁡t

(4)

See Also

convert

convert/exp

convert/sincos

depends

exp

trig