convert/phaseamp - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : convert/phaseamp

convert/phaseamp

convert expressions to phase-amplitude form

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

convert( expr, phaseamp, t )

Parameters

expr

-

any Maple expression

t

-

name; the name of the dependent variable

Description

• 

The phaseamp conversion attempts to locate subexpressions of the form aFtcosomegat+bFtsinomegat in expr, and converts them to the form a2+b2Ftcosomegatarctanb,a. Here, the coefficients a and b are independent of the variable t, which must be passed as a parameter to the conversion.

• 

The strength of the conversion is sensitive to the values of the environment variables Testzero and Normalizer.

Examples

This example demonstrates the basic conversion that is applied.

convertaexpctcosωt+bexpctsinωt,phaseamp,t

a2+b2ⅇctcosωtarctanb,a

(1)

The following two examples illustrate how the dependent variable affects the conversion.

convertasexpstcosst+bsexpstsinst,phaseamp,t

as2+bs2ⅇstcosstarctanbs,as

(2)

convertasexpstcosst+bsexpstsinst,phaseamp,s

asⅇstcosst+bsⅇstsinst

(3)

See Also

arctan

convert

cos

exp

Normalizer

sin

Testzero