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

Online Help

All Products    Maple    MapleSim


MTM[cos], MTM[sin], ...

trigonometric functions

MTM[cosd], MTM[sind], ...

trigonometric functions in degrees

MTM[cosh], MTM[sinh], ...

hyperbolic functions

MTM[acos], MTM[asin], ...

inverse trigonometric functions

MTM[acosd], MTM[asind], ...

inverse trigonometric functions in degrees

MTM[acosh], MTM[asinh], ...

inverse hyperbolic functions

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

sin(x)  cos(x)  cot(x) csc(x) sec(x) tan(x)

asin(x) acos(x) acot(x) acsc(x) asec(x) atan(x) atan(x,y)

sinh(x) cosh(x) coth(x) csch(x) sech(x) tanh(x)

asinh(x) acosh(x) acoth(x) acsch(x) asech(x) atanh(x)

sind(x)  cosd(x)  cotd(x) cscd(x) secd(x) tand(x)

asind(x) acosd(x) acotd(x) acscd(x) asecd(x) atand(x) atand(x,y)

Parameters

x

-

array or expression

y

-

expression

Description

• 

The trigonometric functions

cos

cot

csc

sec

sin

tan

the trigonometric inverses:

acos

acot

acsc

asec

asin

atan

• 

The trigonometric functions with inputs in degrees

cosd

cotd

cscd

secd

sind

tand

the trigonometric inverses in degrees:

acosd

acotd

acscd

asecd

asind

atand

hyperbolic functions:

cosh

coth

csch

sech

sinh

tanh

and inverse hyperbolic functions:

acosh

acoth

acsch

asech

asinh

atanh

will evaluate by default only when the result is an exact value, or when the input x is a floating point number.  Otherwise, for example, when x is a symbolic expression they will remain in function form so that they can be manipulated symbolically by themselves or as part of a larger expression.  

• 

If x is an array, the result is an elementwise mapping over x.

• 

The commands cosd,cotd,cscd,secd,sind,tand accept inputs in degrees and similarly the commands acosd,acotd,acscd,asecd, asind,atand return results in degrees. All other commands require inputs or produce outputs in radians. (1 radian = 180/Pi degrees)

Examples

withMTM:

AArray0,π2,π,2π3,2π

A0π2π2π32π

(1)

sinA

010320

(2)

expandsinx+y

sinxcosy+cosxsiny

(3)

simplifysinx2+cosx2

1

(4)

Compatibility

• 

The MTM[cos], MTM[cosd], MTM[cosh], MTM[acos], MTM[acosd] and MTM[acosh] commands were updated in Maple 2021.

See Also

invtrig

MTM[expand]

MTM[factor]

MTM[simplify]

trig