Version 1.0, August 31, 2001, Copyright, Hugh Jack 1993-2001

5.1.1 Getting a Discrete Equation

 

· First, consider the example of a simple differential equation,

 

 

· We can continue the example and use this equation to simulate the system. Here the `x' values are given, and the first `y' value is assumed to be 0. Assume T=0.5 and K=0.2.

 

 

· Find the discrete equation for the differential equation below. Then find values over time.

 

 

· We can expand this model by also including a `disturbance'. This can be used to model random noise, or changes in system loading, found in all systems.