Question: Can I get help with this problem please. I am using Matlab. I have submitted question and code that needs modified. Will gove thumbs up,



5. Modify - SecondOrder ODE.m to do the following: a) Use the ode45() function to plot the solution for: X+4*+6x+8x = f(t) where $(t)=u(t) (a unit step) over the range 0 to 10 seconds. All initial conditions are zero. Plot the position and velocity on separate graphs 1 % Use ODE45 to solve Example 4.4.3, page 205, Palm 3rd edition % Spring Mass Damper system with initial displacement 2 3 4 function SolveODES() clf %clear any existing plots 5 6 % [t,y) = ode45( @deriv, Time range [0,10], Initial Conditions [0,0] 8 ); 9 1 2 % tvals yvals color and style plot(t, y(:,1), 'blue'); title('Spring Mass Damper with initial displacement');
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
