Quantcast

Documentation Center

  • Trial Software
  • Product Updates

ode::getOrder

Order of an ordinary differential equation

Use only in the MuPAD Notebook Interface.

This functionality does not run in MATLAB.

Syntax

ode::getOrder(Ly, y(x))

Description

ode::getOrder(Ly, y(x)) returns the order of Ly for the dependent function y(x), i.e. the highest degree of derivative of Ly.

Examples

Example 1

We can compute orders for linear and nonlinear ordinary differential equations:

ode::getOrder(diff(y(x),x$2)-x*y(x)-airyAi(x), y(x))

ode::getOrder(y(x)*diff(y(x),x$3)^2-exp(y(x)), y(x))

ode::getOrder(y(x)*diff(y(x),x$3)^2-exp(y(x)), z(x))

Parameters

Ly

An ordinary differential equation.

y(x)

The dependent function of Ly.

Return Values

Either -infinity or a positive integer.

Was this topic helpful?