Develop Simulink simulation for differential equation in attachment. The write matlab script to solve same equation. Then compare.
Be sure to label and title all plots.
1). For the following differential equation: (d^2y/dt^2)+(2dy/dt)+(8y)=(-2dx/dt)+(8x)
a. Develop the simulation using integrators and run that simulation for x being a unit step. Plot y as a function of t.
b. Replace the analog integrator with a forward Euler integrator and trapezoidal integrator using a sampling time of 0.05. Run both the Euler and trapezoidal simulations and plot the output y.
c. For the trapezoidal integrator, there is an algebraic loop. Eliminate that loop by developing the difference equation for y(n) analytically again for a sampling time of 0.05. Hint for the trapezoidal integrator, the discrete-time transfer function is given
d. Write a Matlab® script to solve the difference equation.
e. Compare results to analog, the forward Euler, the trapezoidal simulation, and the result by solving and eliminating the algebraic loop in part c.
9 years ago
5
- PAD 599 Week 2 Discussion 1
- HCS/589 WEEK 1 DISCUSSION STARTERS 1 & 2
- ASSIGNMENT DUE TODAY
- Dq 1 & DQ 2
- US Government
- Consider the following model of trade between Home and Foreign. Assume throughout that those two countries are the only two countries in the world, at least for purposes of trade. There are two goods: Tables and Chairs. Consumers always spend two fifths o
- Question
- Homework market 11
- International Human Resource Management (IHRM)
- For the group project, you will be creating a database system to solve a business problem of your choice. The database system must meet the criteria shown below. In addition to the database solution, each student will prepare a system summary. Database S