Question

Solve the system of ODEs with a suitable Simulink system.

Simulink problems 

System of ODES 

Solve the system of ODEs with a suitable Simulink system. Graphically compare the Simulink solutions with the exact solutions (symbolic solution). 

y'1 (t) = -3y1(t) – 2y2(t), y1(0) = 1, 

y'2 (t) = 4y1(t) + 2y2(t), y2(0) = 1. 


Upload your Simulink model and MATLAB code with graphical output (LiveScript exported to PDF).

3 0
Add a comment Improve this question Transcribed image text
✔ Recommended Answer
Answer #1

In this question, we need to solve the following ODEs with Simulink model. The ODEs are y,(t) = -3yı(t) – 2yz(t), y:(0) = 1,

the initial condition of each integration block is considered as 1 (as per the question).

The simulink block is shown below

File Edit View Display Diagram Simulation Analysis Code Tools Help Normal untitled 2 untitled 0† 2 \dot{y1}t) y1(t) y1(t) Int

The corresponding outputs are shown below

0.5 1. -0.5 -1.5 10 Time offset: 0

at 0 10 Time offset: 0

Add a comment
Know the answer?
Add Answer to:
Solve the system of ODEs with a suitable Simulink system.
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Similar Homework Help Questions
  • 5. Consider the system of differential equations yi = y1 + 2y2, y = -41/2 +...

    5. Consider the system of differential equations yi = y1 + 2y2, y = -41/2 + y2 with initial conditions yi(0) = 1, y2(0= 0. This has exact solution yı(t) = exp(t) cos(t), yz(t) = - exp(t) sin(t)/2. (a) Apply Euler's method with h=1/4 and find the global truncation error by comparing with the exact solution over the interval [0, 1]. (b) Apply the RK4 method with h=1 and find the global truncation error by comparing with the exact solution...

  • Solve the system of first-order linear differential equations. (Use C1, C2, and C3 as constants.) Y1...

    Solve the system of first-order linear differential equations. (Use C1, C2, and C3 as constants.) Y1 3y2 Y2' 4y1 4y2 + 1473 7y3 = Y3' = 473 (y1(t), y2(t), y(t)) Need Help? Read It Watch It Talk to a Tutor [1/3 Points] DETAILS PREVIOUS ANSWERS LARLINALG8 7.4.029. Write out the system of first-order linear differential equations represented by the matrix equation y' = Ay. (Use y1, and y2, for yi(t), and yz(t).) [01] Yı' = Y2' =

  • *Matlab code, please! only 1d (a) 1. Apply the Euler’s Method with step size h =...

    *Matlab code, please! only 1d (a) 1. Apply the Euler’s Method with step size h = 1/4 to the initial value problem on [0, 1]. y1 = yi + y2 yí = -yi – 12 ya = - y1 + y2 on J y2 = yi – Y2 yı(0) = 1 yı(0) = 1 y2 (0) = 0 | Y2(0) = 0 y =-12 yí = yi + 3y2 ya = 2yı + 2y2 (d) yı(0) = 1 yi(0) =...

  • Consider the system of linear ODES 1 (1) = 35 yj (1) - 16 y2 (1)...

    Consider the system of linear ODES 1 (1) = 35 yj (1) - 16 y2 (1) – 26 yz (1), dy2 (1) = 30 yy (0) - 15 y2 (1) – 22 yz (1). di Y3 (1) = 36 y1 (1) - 16 yz (1) - 27 y3 (). (71 The system of equation written as y' (t) = Ay(t), where y(t) = 2(1) (a) Enter the matrix A in the box below. ab sin(a) f a 2 (-1) (-2)(-1...

  • (1 point) Consider the linear system 3 2 ' = y. -5 -3 a. Find the...

    (1 point) Consider the linear system 3 2 ' = y. -5 -3 a. Find the eigenvalues and eigenvectors for the coefficient matrix. 2 = 15 and 2 V2 b. Find the real-valued solution to the initial value problem Syi ly 3y1 + 2y2, -541 – 3y2, yı(0) = 0, y2(0) = -5. Use t as the independent variable in your answers. yı(t) y2(t)

  • A position control system is given below. Use the MATLAB simulation tool (including Simulink) to ...

    Please provide an original answer. Will thumbs up. Thank you. A position control system is given below. Use the MATLAB simulation tool (including Simulink) to design the controller and to select the appropriate parameters. Please document your source code (submit the code or Simulink block diagrams), show your simulation results, and provide an analysis of obtained results. You are allowed to work in groups of two students. d(t) r(t) yt) то Set d(t)-0 and then design the controller (select gains...

  • Problem 4.12 & Problem 4.14 ? 4.12 Suppose y is N4(u, 2), where 8 9 -3...

    Problem 4.12 & Problem 4.14 ? 4.12 Suppose y is N4(u, 2), where 8 9 -3 6 3-3 23 μ= PROBLEMS 107 (a) Find the distribution ofz-: 4y1-2y2 + y3-3y4 (b) Find the joint distribution of zy y2y3y4 and z22yi + (c) Find the joint distribution of zı = 3y1 +N2-4y3-N4, z2--yı-3y2+ (d) What is the distribution of y3? (e) What is the joint distribution of y2 and y4? (f) Find the joint distribution of yi, 1(yi + y2), yit...

  • 100 Consider the following LTI system, 5, and wo = 2000π rad/sec. where, Q a) Use MATLAB to deter...

    please complete this project. 100 Consider the following LTI system, 5, and wo = 2000π rad/sec. where, Q a) Use MATLAB to determine magnitude response and phase response of the filter b) What type of filter is it? c) What will be the output of this filter if input x,(t)-5Cos(100t). Show all calculations step by step as shown in Lecture-20 d) Verify your answer of part (e) by using Simulink model. Attach the snapshot of Simulink model and output e)...

  • I am not sure about the eigen vectors or the eigen values would like confirmation and...

    I am not sure about the eigen vectors or the eigen values would like confirmation and the solutions for part B as well, Thank you. (1 point) Consider the linear system = [3] -3 -2 5 3 y. -3-1 a. Find the eigenvalues and eigenvectors for the coefficient matrix. -3+1 di vi 5 -i and 12 13 5 b. Find the real-valued solution to the initial value problem โปร์ -3y1 - 2y2 5y1 + 3y2, yı(0) = -10, y2(0) =...

  • Would someone help me with the last 3 questions here, I got the previous ones but need help with the last 3 in red. Than...

    Would someone help me with the last 3 questions here, I got the previous ones but need help with the last 3 in red. Thank you Transcribed: Now that you nd a rst order system of ODEs, you can solve it using the Huens method ac- cording to the material you covered in computational module 2. A template of the code which will help you to get started is also available. Attach the complete code as a pdf page to...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT