Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

ODE Linear nth Order Symbolic (Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Solves an nth-order, homogeneous linear differential equation with constant coefficients in symbolic form.

Details  

A is the vector of coefficients of the different derivatives of a function x(t), starting with the coefficient of the lowest order term. The coefficient of the highest order derivative is assumed to be equal to 1.0 and does not need to be entered.
X0 is the vector of the start condition x[10], …, x[n0]. There is a one-to-one relation between the components of X0 and X.
formula is the symbolic solution.
error returns any error or warning from the VI. Errors are produced by using the wrong inputs X, X0, and F(X,t). You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

ODE Linear nth Order Symbolic Details

The general solution has the following form.

x(t) = 1exp(1t) + … + nexp(nt)

with complex

1, …, n

and

1, …, n

But all inputs are real, and thus the solution also has this property. As a consequence, the symbolic solution is a linear combination of exp, sin-, and cos-functions with real coefficients.

Note  Only the case of pairwise different 1, …, n is treated. For the case of repeated eigenvalues, an error code of –23017 is given. By convention, the value of the highest coefficient is taken as 1.0, and does not need to be entered in the A control. The other coefficients are entered starting with the lowest order coefficient.

To solve the differential equation

x'' – 3 x' + 2 x = 0

with the I.C. as with x(0) = 2 and x'(0) = 3, enter A = [2, -3] and X0 = [2, 3].

Refer to the ODE Linear nth Order Numeric VI for more information about nth-order, homogeneous linear differential equations.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit