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

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

convertcotx,expsincos

cosxsinx

(1)

convertsinhx,expsincos

ⅇx212ⅇx

(2)

converttans+sect,expsincos

sinscoss+1cost

(3)

converttans+sect,expsincos,s

sinscoss+sect

(4)

See Also

convert

convert/exp

convert/sincos

depends

exp

trig