1 PLEASE NUMERICALLY SOLVE THE SECOND ORDER ODE IN MATLAB 2

1.) PLEASE NUMERICALLY SOLVE THE SECOND ORDER ODE IN MATLAB

2.) PLEASE SOLVE USING SIMULINK

For t < 3pi/2:

the solution is x1(t) = 0.01736sin(4t)-0.01388sin(5t)

For 3pi/2 < t < 9:

the solution is x2(t) = 0.02168cos(4t)+0.01931sin(4t)-0.0078

For 9 < t < 15:

the solution is x3(t) = 0.02267cos(4t)+0.02704sin(4t)

g 9.81 m/s2 m 40 kg k 3640 N/m No slippage. Ft, xt) m 35 Figure 1: Mass spring setting Amplitude F 5sin (5t) Time [sec] 9 t

Solution

First solve the 1-order differential equation, then again take the derivative of that answer, you will get the second ODE.

Then take out the value of y(t) by converting them to systemof 1st order DE.

Create the matlab function for that

Then, Solve the System of First-Order ODE
Call the MATLAB ode45 numerical solver using the generated MATLAB function as an input.

Plot the output using fplot.

1.) PLEASE NUMERICALLY SOLVE THE SECOND ORDER ODE IN MATLAB 2.) PLEASE SOLVE USING SIMULINK For t < 3pi/2: the solution is x1(t) = 0.01736sin(4t)-0.01388sin(

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site