gear - 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


dsolve/numeric/gear

numerical solution of ordinary differential equations

 

Calling Sequence

Parameters

Description

Examples

References

Calling Sequence

dsolve(odesys, numeric, method=gear)

dsolve(odesys, numeric, method=gear[choice], vars, options)

dsolve(numeric, method=gear[choice], procopts, options)

Parameters

odesys

-

set or list; ordinary differential equation(s) and initial conditions

numeric

-

literal name; instruct dsolve to find a numerical solution

method=gear

-

literal equation; numerical method to use

method=gear[choice]

-

equation; numerical method and submethod to use

vars

-

(optional) dependent variable or a set or list of dependent variables for odesys

options

-

(optional) equations of the form keyword = value

procopts

-

options used to specify the ODE system using a procedure (procedure, initial, start, number, and procvars). For more information, see dsolve[numeric,IVP].

Description

• 

The dsolve command with the options numeric and method=gear or method=gear[choice] finds a numerical solution using a Gear single-step extrapolation method.

• 

The choice for the gear method are bstoer and polyextr.  The default bstoer choice is a Burlirsch-Stoer rational extrapolation method and the polyextr choice uses polynomial extrapolation.

• 

By setting infolevel[`dsolve/gear`] or infolevel[dsolve] to 2, information about the last mesh point evaluation is provided in the event of an error.

• 

The following options are available for the gear method.

'output'

=

keyword or array

'known'

=

name or list of names

'maxfun'

=

integer

'number'

=

integer

'procedure'

=

procedure

'start'

=

numeric

'initial'

=

array

'procvars'

=

list

'startinit'

=

boolean

'implicit'

=

boolean

'optimize'

=

boolean

'abserr'

=

numeric

'relerr'

=

numeric

'initstep'

=

numeric

'maxstep'

=

numeric

'minstep'

=

numeric

'maxord'

=

integer

'maxpts'

=

integer

  

'output','known'

  

The 'output' option specifies the desired output from dsolve, and the known option specifies user-defined known functions. These options are discussed in dsolve[numeric].

  

 

  

'maxfun'

  

Specifies a maximum on the number of evaluations of the right-hand side of the first order ODE system (See dsolve[maxfun]). This option can be disabled by specifying . By default this option is disabled.

  

 

  

'number', 'procedure', 'start', 'initial', and 'procvars'

  

These options are used to specify the IVP using procedures. For more information, see dsolve[numeric,IVP].

  

 

  

'startinit','implicit', and 'optimize'

  

These options control the method and behavior of the computation. For more information on the first two, see dsolve[numeric,IVP], for the last, see dsolve[numeric].

  

 

  

'abserr' and 'relerr'

  

Specify the desired accuracy of the solution, and are discussed in dsolve[Error_Control]. The default values for gear are  and .

  

 

  

'minstep', 'maxstep', and 'initstep'

  

Provide finer control over the step size used in the method, and are also discussed in dsolve[Error_Control]. By default ,  is disabled, and . When setting  ensure that the value is adequately small to allow for the first few steps.

  

 

  

'maxord'

  

A positive integer, specifying the maximum order of extrapolation allowed. It must be less than  (values of  or less are recommended). The default value is .

  

 

  

'maxpts'

  

A positive integer, specifying the maximum number of different single unit step sizes used in the extrapolation process (values less than  are recommended). The default is .

  

 

• 

The computation may return with an error message corresponding to an error condition of the gear procedure.

• 

Results can be plotted using the function odeplot in the plots package.

Examples

(1)

(2)

(3)

(4)

(5)

(6)

(7)

(8)

(9)

(10)

References

  

Gear, C.W. Numerical Initial Value Problems in Ordinary Differential Equations. Prentice-Hall, 1971.

See Also

dsolve/Error_Control

dsolve[ck45]

dsolve[classical]

dsolve[dverk78]

dsolve[lsode]

dsolve[maxfun]

dsolve[numeric,IVP]

dsolve[numeric]

dsolve[rkf45]

dsolve[rosenbrock]

dsolve[Stiffness]

dsolve[taylorseries]

plots[odeplot]

 


Download Help Document