You are on page 1of 7

TIME DOMAIN

Time Domain Dynamics:

y  10 f (t )

1. Solution to First order ODE

Solve this equation: x(t )  2 x  u (t ) Where u(t) is Ramp (slope = 1, start time = 0, initial ouput = 0).
Exercise 1:

2. Solution to Second order ODE – 1


d 2x dx
Solve this equation 2
 5  6x  1
dt dt
There are 2 methods to solve.
First method: Solution to the equation can be split into two first order equations by the
dx dy
substitution  y . Therefore:  1 6x  5 y
dt dt
d 2x dx
The second method: 2
 1 5  6x
dt dt

3. Solution to Two first order Equations – 1


dC A
 4C A  4CB
dt
dCB
 4(C A  CB )
dt
C A (0)  100, CB (0)  0
Exercise 2

Solution to Two first order Equations - 2

dC A1
2  C A1  C A0
dt
dC
4 A 2  C A 2  C A1
dt
C A1 (0)  0, C A 2 (0)  0, C A0  1
0  t 1

4. Liquid level Dynamics

Simulation time: 0  t  20
Simultaneous Ordinary Differential Equation 2nd Order

x  px  ax  by
y  qy  cx  dy

Exercise 3:

Simulate the equation below:

x  3x  4 x  y
y  2 y  5 x  6 y
x(0)  1, x(0)  1
y(0)  1, y(0)  1
0t 3

You might also like