LREtools[REtoDE] - convert a recurrence into a differential equation
|
Calling Sequence
|
|
REtoDE(problem, f(z))
REtoDE(problem, f(z), output=val)
|
|
Parameters
|
|
problem
|
-
|
either a RESol recurrence structure, or a recurrence definition
|
f(z)
|
-
|
name and variable of the function
|
output=val
|
-
|
form of the output, where output=DESol or output=diff
|
|
|
|
|
Description
|
|
•
|
This routine returns the differential operator or differential equation satisfied by the generating function associated to the recurrence. This operator is returned as either a DESol operator or a differential equation (both possibly with initial conditions). No attempt is made to explicitly solve the result.
|
•
|
The output option val can be either DESol which requests operator output (the default) or diff which requests the output in terms of a differential system.
|
|
Note: In some cases initial conditions are also needed, so the output=diff result is returned as a set. If no initial conditions are needed, the output is a single ODE.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
An example with conditions:
>
|
|
| (4) |
>
|
|
| (5) |
|
|
Download Help Document
Was this information helpful?