DEtools - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Differential Equations : DEtools : Linear DE Manipulation : DEtools/convertAlg

DEtools

  

convertAlg

  

return the coefficient list form for a linear ODE

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

convertAlg(des, dvar)

Parameters

des

-

differential equation

dvar

-

dependent variable

Description

• 

This routine is used to return an equivalent list form for a given linear ordinary differential equation.  The list returned has two elements.

  

The first is a list (here called A) of the coefficients of the ODE, of the form

A1yx+A2ⅆⅆxyx+...+An+1ⅆnⅆxnyx

  

The second element is the right hand side of the given ODE.  In the case that the DE has no right hand side, the default zero is used.

• 

In the event that convertAlg cannot isolate for the proper list form (for instance, if the DE is not a linear ODE) then FAIL is returned.

• 

This function is part of the DEtools package, and so it can be used in the form convertAlg(..) only after executing the command with(DEtools). However, it can always be accessed through the long form of the command by using DEtools[convertAlg](..).

Examples

withDEtools:

Aⅆⅆxyxsinxxcosxⅆ2ⅆx2yx+ⅆⅆxyxtanxyx=5

Aⅆⅆxyxsinxxcosxⅆ2ⅆx2yx+ⅆⅆxyxtanxyx=5

(1)

convertAlgA,yx

tanx,sinx+1,xcosx,5

(2)

BDyxx5D2yxsinx+D2yxx32

B5DyxxD2yxsinx+9D2yxx

(3)

convertAlgB,yx

0,5x,sinx+9x,0

(4)

See Also

DEtools

DEtools[DEnormal]