Professional Documents
Culture Documents
Objective:
The Objective of this lab is to understand the process of solving differential equations of
different orders on Simulink.
Figure 1: Integrator
As the name suggests, this block is used to calculate the integral of the signal provided at the
input i.e. left side of the block. In case of solving a differential equation, the major task to do is
to integrate the given equation which will return the function without the derivative.
Integration of the derivative of a function is equal to the function itself. The purpose of the
integral block here is the same. Number of integral blocks used in a block diagram is equal to the
order of the differential equation we are going to solve hereby in the problem. For instance, if we
want to solve a 1st order differential equation, we will be needing 1 integral block and if the
equation is a 2nd order differential equation the number of blocks used is two.
From the library browser, select the commonly used blocks and then select integral block,
Figure 4: Integral block
Drag and drop the integral block on the Simulink blank project created previously. Also save the
project. If we are working with a second order differential equation, we will place two integral
blocks,
Perform the above discussed problem on differential equations of different orders. Use the
equations given below and solve them on Simulink.
d2 y dy
+6 −3=0
dx 2
dx
2
d y dy
=3−6
dx 2
dx
3 2
d y d y dy
3
+2 2 +3 −5=0
dx dx dx
3 2
d y d y dy
3
=5−2 2 −3
dx dx dx
d4 y d2 y dy
+ 2 −3 + y=9
dx 4
dx dx
d4 y d2 y dy
=9− 2 +3 − y
dx 4
dx dx
Comments:
_______________________________________________________________________________
_______________________________________________________________________________
_______________________________________________________________________________