Question: Consider the following second-order ODE representing a spring-mass-damper system for zero initial conditions (forced response): 2x + 2x + x = U, x(0) = 0,

 Consider the following second-order ODE representing a spring-mass-damper system for zero

Consider the following second-order ODE representing a spring-mass-damper system for zero initial conditions (forced response): 2x + 2x + x = U, x(0) = 0, *(0) = 0 where u is the Unit Step Function (of magnitude 1). a. Use MATLAB to obtain an analytical solution X(t) for the differential equation, using the Laplace Transforms approach (do not use DSOLVE). Obtain the analytical expression for x(t). Also obtain a plot of x(t) (for a simulation of 14 seconds). b. Solve the above differential equation numerically by using the ODE45 function in MATLAB, for a duration of 14 seconds. Plot the displacement x(t). Include the function code, and the code that invokes ODE45 & plots the response. c. Model the above Ordinary Differential equation using Simulink, and obtain a plot of the solution x(t) for a simulation of 14 seconds (the Scope output)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!