This preview shows page 1. Sign up to view the full content.
Unformatted text preview: 0 to 20. Plot both state variables on the same graph (be sure to label the axes!). You may use any numerical integration method. Include all computer code that you write (you may use an integrator that you have written for another class or a canned integrator such as ode45 in Matlab). 9 5|| 20 4 cos 3 6 Initial conditions are 0 0, 0 0.5 . All values are dimensionless. Note that since the integration begins at t = 0, the term 6 u ( t ) can be treated simply as a constant value equal to 6. Remember, you may not share computer code with others....
View Full Document
- Spring '10