Question

Consider the following second-order ODE representing a spring-mass-damper system for zero initial conditions (forced response
0 0
Add a comment Improve this question Transcribed image text
Answer #1

`Hey,

Note: Brother in case of any queries, just comment in box I would be very happy to assist all your queries

clear all
clc
syms x(t) Dx(t)
eq=2*diff(x,2)+2*diff(x)+x==heaviside(1);
Dx=diff(x);
cond=[x(0)==0 Dx(0)==0];
f=matlabFunction(dsolve(eq,cond));
fplot(f,[0,14]);

Note: Brother according to HOMEWORKLIB RULES we are only allowed to answer first part if there are many. So, I request you to post other part as separate posts.

Kindly revert for any queries

Thanks.

Add a comment
Know the answer?
Add Answer to:
Consider the following second-order ODE representing a spring-mass-damper system for zero initial...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • a can be skipped Consider the following second-order ODE representing a spring-mass-damper system for zero initial...

    a can be skipped 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)...

  • Problem 1. Consider the following mass, spring, and damper system. Let the force F be the...

    Problem 1. Consider the following mass, spring, and damper system. Let the force F be the input and the position x be the output. M-1 kg b- 10 N s/m k 20 N/nm F = 1 N when t>=0 PART UNIT FEEDBACK CONTROL SYSTEM 5) Construct a unit feedback control for the mass-spring-damper system 6) Draw the block diagram of the unit feedback control system 7) Find the Transfer Function of the closed-loop (CL) system 8) Find and plot the...

  • 3. Consider the following mass-spring-damper system. Let m= 1 kg, b = 10 Ns/m, and k...

    3. Consider the following mass-spring-damper system. Let m= 1 kg, b = 10 Ns/m, and k = 20 N/m. b m F k a) Derive the open-loop transfer function X(S) F(s) Plot the step response using matlab. b) Derive the closed-loop transfer function with P-controller with Kp = 300. Plot the step response using matlab. c) Derive the closed-loop transfer function with PD-controller with Ky and Ka = 10. Plot the step response using matlab. d) Derive the closed-loop transfer...

  • Consider the Spring-Mass-Damper system: 17 →xt) linn M A Falt) Ffl v) Consider the following system...

    Consider the Spring-Mass-Damper system: 17 →xt) linn M A Falt) Ffl v) Consider the following system parameter values: Case 1: m= 7 kg; b = 1 Nsec/m; Fa = 3N; k = 2 N/m; x(0) = 4 m;x_dot(0)=0 m/s Case2:m=30kg;b=1Nsec/m; Fa=3N; k=2N/m;x(0)=2m;x_dot(0)=0m/s Use MATLAB in order to do the following: 1. Solve the system equations numerically (using the ODE45 function). 2. For the two cases, plot the Position x(t) of the mass, on the same graph (include proper titles, axis...

  • Consider a mass-spring-damper system (i.e., the plant) described by the following second-order differential equation wh...

    Consider a mass-spring-damper system (i.e., the plant) described by the following second-order differential equation where y represents the position displacement of the mass. Our goal is to design a controller so that y can track a reference position r. The tracking error signal is then et)(t). (a) Let there be a PID controller Derive the closed-loop system equation in forms of ODE (b) Draw the block diagram of the whole system using transfer function for the blocks of plant and...

  • Tutorial -On PID control (Control System: Instructor slides and lab) Consider a second order mass...

    part 2 & part 3 please... Tutorial -On PID control (Control System: Instructor slides and lab) Consider a second order mass-force system to study its behavior under various forms of PID control xtn fon force In Disturbance force: 50) (i.e. wind force) Part I (dealing with the plant/process) 1. What is the model of this system, in other words, write the ODE of the system 2. Derive the transfer function of the above system from Fls) to X(s) 3. What...

  • Solve the question in Matlab and please show Matlab code Consider a double Spring-Mass-Damper System as...

    Solve the question in Matlab and please show Matlab code Consider a double Spring-Mass-Damper System as shown in the figure below: U >F(t) A. Create a Simulink model to simulate the dynamics of the above system for the following parameter values: F(t) = Step input force of magnitude 5 N ml = 7 kg, b1 = 3 Nsec/m, kl = 4 N/m m2 = 3 kg, b2 = 1 Nsec/m, k2= 2 N/m B. Submit a snapshot of the Simulink...

  • A. 1st Order Systems Consider the spring-damper system shown in Figure 1. Figure 1: spring-damper system...

    A. 1st Order Systems Consider the spring-damper system shown in Figure 1. Figure 1: spring-damper system (1)Draw FBD and deduce EOM. Clearly state your assumptions. (2)Cast EOM as an ODE in standard form; write the time constant T and the forcing function f(t) in terms of k,c, f*(1) (3) Write the solution x(t) as the sum x(t) = x (1)+x,() and do the following: a) give the name of x (1) b) write the equation that x(!) must satisfy and...

  • Problem Set A Problem 6. (20%) A ordinary differential equation for a mass-damper-spring system is following....

    Problem Set A Problem 6. (20%) A ordinary differential equation for a mass-damper-spring system is following. The mass m 1, damping coetfic e initial position y(o) O, and the initial velocity i constant k 3 and force 10, all are in appropriate units. Th 1, spring zero, within the time range of O to 20 unit of time, use Matlab find the solution of function y(t)? Hint: you need to convert the 2nd order ODE into two 1st order ODEs....

  • Consider the model of a spring-mass-damper system, where the following parameter values are assum...

    answer 3 and 4 please Consider the model of a spring-mass-damper system, where the following parameter values are assumed: m 1,b 2,k 2. 3. a. Write down the transfer function of the system b. Choose a sample time for the system c. Find the pulse transfer function (use MATLAB 'c2d' command) d. Find the range of K for stability for the closed-loop sampled-data system 4. Consider a series RLC circuit driven by a voltage source with capacitor voltage as output....

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT