This document provides instructions for modeling and simulating three different physical systems:
1) A two-mass spring-damper system. Students are asked to derive the system's free body diagram and difference equation, then simulate it using an ODE solver. The system will eventually decay to rest, and increasing the damping would make it decay faster.
2) Two variations of a four-mass spring-damper system. Students derive the free body diagrams and differential equations, then simulate each using an ODE solver. Setting the damping to zero in one system prevents the masses from coming to rest.
3) An RC circuit. Students derive the differential equation and implement it in MATLAB using an ODE solver for
This document provides instructions for modeling and simulating three different physical systems:
1) A two-mass spring-damper system. Students are asked to derive the system's free body diagram and difference equation, then simulate it using an ODE solver. The system will eventually decay to rest, and increasing the damping would make it decay faster.
2) Two variations of a four-mass spring-damper system. Students derive the free body diagrams and differential equations, then simulate each using an ODE solver. Setting the damping to zero in one system prevents the masses from coming to rest.
3) An RC circuit. Students derive the differential equation and implement it in MATLAB using an ODE solver for
This document provides instructions for modeling and simulating three different physical systems:
1) A two-mass spring-damper system. Students are asked to derive the system's free body diagram and difference equation, then simulate it using an ODE solver. The system will eventually decay to rest, and increasing the damping would make it decay faster.
2) Two variations of a four-mass spring-damper system. Students derive the free body diagrams and differential equations, then simulate each using an ODE solver. Setting the damping to zero in one system prevents the masses from coming to rest.
3) An RC circuit. Students derive the differential equation and implement it in MATLAB using an ODE solver for
This document provides instructions for modeling and simulating three different physical systems:
1) A two-mass spring-damper system. Students are asked to derive the system's free body diagram and difference equation, then simulate it using an ODE solver. The system will eventually decay to rest, and increasing the damping would make it decay faster.
2) Two variations of a four-mass spring-damper system. Students derive the free body diagrams and differential equations, then simulate each using an ODE solver. Setting the damping to zero in one system prevents the masses from coming to rest.
3) An RC circuit. Students derive the differential equation and implement it in MATLAB using an ODE solver for
b. Derive the system difference equation c. Use ODE solver to simulate the system for 100s for 𝑏𝑏1 = 1, 𝑘𝑘1 = 1, 𝑏𝑏2 = 1, 𝑘𝑘2 = 1, 𝑚𝑚 = 10 d. Will the system eventually decay to a rest given initial conditions 𝑥𝑥0 ≠ 0 i. Why? ii. How do we make the system decay faster?
2) Given the following systems block diagrams:
a) Derive a free body diagram of the system
b) Write the two differential equations which describe 𝑚𝑚1 and 𝑚𝑚2 a. System 1) Simulate the system using ODE45, set 𝑏𝑏1 = 0.5, 𝑘𝑘1 = 1, 𝑘𝑘2 = 1, 𝑘𝑘3 = 1, 𝑚𝑚1,2 = 10, 𝑦𝑦 = 0, 𝑥𝑥0 = [1 0 0 0] i. What is the consequence of 𝑏𝑏1 = 0 b. System 2) Simulate the system using ODE45, set 𝑏𝑏1 = 0.5, 𝑘𝑘1 = 1, 𝑘𝑘2 = 1, 𝑘𝑘3 = 1, 𝑚𝑚1,2 = 10, 𝑥𝑥0 = [1 0 0 0] i. What is the consequence of 𝑏𝑏1 = 0 3) Given the following circuit (RC) circuit, derive the differential equation of the circuit
a. Find the differential equation of this system
b. Implement the 1st order differential equation into matlab and solve using ODE45 for different values of C and R and 𝑉𝑉𝑠𝑠 i. What is the consequence of increasing R ii. What is the consequence of increasing C iii. What is the consequence of V being either 0 or some positive value?