This video shows the steps to design a differential equation 2nd order in Simulink using basic blocks in Matlab 2017b.
Differential Equation in Simulink
2 x” + 2 x’ + 3 𝑦’ + 𝑥 + 2𝑦 = 0,
𝑦” + 𝑥’ + 2 𝑦’ + 2𝑦 = sin(𝜋𝑡)
Initial Conditions
𝑦'( 0 )= −1
y( 0 )= 1
x” = -1/2 ( 2 x’ + 3 𝑦’ + 𝑥 + 2𝑦)
𝑦” = sin(𝜋𝑡) – 𝑥’ – 2 𝑦’ – 2𝑦


We will be glad to hear from you regarding any query, suggestions or appreciations at: programmerworld1990@gmail.com
Top posts/ comments from YouTube channel:
The maximum height ‘h’ achieved by an object thrown with a speed ‘v’ at an angle ‘theta’ is given by h=v(sqr)*sin(theta)(sqr)/2g . Create a table showing the maximum height for the following values of v and theta. v=10 20, in steps of 2 and in steps of 10. Use suitable interpolation function to find ‘h’ corresponds to v=13 & 15 and theta = 55 to 65