Question: Consider a second-order ODE representing a forced vibrating system: + 8y +2y=k cos(x) y(0) = 0, y(0) = 1 a. Use MATLAB in order

Consider a second-order ODE representing a forced vibrating system: + 8y +2y=k 

Consider a second-order ODE representing a forced vibrating system: + 8y +2y=k cos(x) y(0) = 0, y(0) = 1 a. Use MATLAB in order to obtain the analytical solution y(t) for the above differential equation (obtain solution in terms of variable k, and must be displayed in decimal format). b. Consider the solution y(t) for the above ODE, as obtained in Part (a). On a single graph, plot the solution y(t), for two different values of the variable 'k': k = 3 and k = 15. Use a time range 1 of 0

Step by Step Solution

3.19 Rating (152 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Heres how you can solve it in MATLAB syms yt k Dy diffy t D2y diffy t 2 ode D2y 8Dy 2y kcost ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!