Question
using matlab
The damping system has a single degree of freedom as follows: dx2 dx m++ kx = + kx = F(t) dt dt The second ordinary different
0 0
Add a comment Improve this question Transcribed image text
Answer #1
clc
Clear all
F = @(t,x)[x(2); 2-0.02*x(2)-8*x(1)]; 
ic= [0; 0];            % Initial Conditions
ts = [0:0.01:24];                   % Time span
[t,z] =ode45(F,ts,ic);          % Solving through ODE45
plot (ts,z(:,1));    
xlabel('time(t) in s')
ylabel('displacement(x) in m')

0.5 0.45 0.4 0.35 0.3 displacement(x) in m 0.25 0.2 0.15 0.1 0.05 ол Н 0 20 25 10 15 time(t) in sxi= da व - 2 ㅠ 월 K 이 걸 m m 21 M) 10 5 일기 GO 5 지 5 기 2 - 0.0812 - 8 X) F = @(x) [x(2), 2-0·02 * x(2) - ?* ( N

Add a comment
Know the answer?
Add Answer to:
using matlab The damping system has a single degree of freedom as follows: dx2 dx m++...
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
  • solve by matlab The damping system has a single degree of freedom as follows: dx2 dx...

    solve by matlab The damping system has a single degree of freedom as follows: dx2 dx mo++ kx = F(t) dt dt The second ordinary differential equation can be divided to two 1sorder differential equation as: dx dx F C k xí -X2 -X1 dt dt m m m = x2 ,x'z m N F = 10, m = 5 kg k = 40, and the damping constant = 0.1 The initial conditions are [00] and the time interval is...

  • Solve it with matlab 25.16 The motion of a damped spring-mass system (Fig. P25.16) is described...

    Solve it with matlab 25.16 The motion of a damped spring-mass system (Fig. P25.16) is described by the following ordinary differential equation: d’x dx ++ kx = 0 m dr dt where x = displacement from equilibrium position (m), t = time (s), m 20-kg mass, and c = the damping coefficient (N · s/m). The damping coefficient c takes on three values of 5 (under- damped), 40 (critically damped), and 200 (overdamped). The spring constant k = 20 N/m....

  • Model for Evaluation The model used for evaluation is the single degree of freedom lumped mass mo...

    Model for Evaluation The model used for evaluation is the single degree of freedom lumped mass model defined by second order differential equation with constant coefficients. This model is shown in Figure 1. x(t)m m f(t) Figure 1 - Single Degree of Freedom Model The equation of motion describing this system can easily be shown to be md-x + cdx + kx = f(t) dt dt where m is the mass, c is the damping and k is the stiffness...

  • 1.- Starting from the differential equation for a 1-degree of freedom system with mass M, damping...

    1.- Starting from the differential equation for a 1-degree of freedom system with mass M, damping c and spring stiffness k: a.- Show that the particular solution for the equation with an applied force fo cos(ot), i.e., Mä+ci+kx=f, cos(or) can be expressed as x )= A cos(ot) + A, sin(or) and find the values of A, and A, that solve the differential equation in terms of M, c, k and fo. 5 points. b. Use the result from part a...

  • I want matlab code. 585 i1 FIGURE P22.15 22.15 The motion of a damped spring-mass system (Fig. P22.15) is de...

    I want matlab code. 585 i1 FIGURE P22.15 22.15 The motion of a damped spring-mass system (Fig. P22.15) is described by the following ordinary differ- ential equation: dx dx in dt2 dt where x displacement from equilibrium position (m), t time (s), m 20-kg mass, and c the damping coefficient (N s/m). The damping coefficient c takes on three values of 5 (underdamped), 40 (critically damped), and 200 (over- damped). The spring constant k-20 N/m. The initial ve- locity is...

  • SOLVE NUMERICALLY USING EULERS METHOD

    The motion of a damped spring-mass system (Fig. P25.16)  is described by the following ordinary differential equation: m d2x dt2 1 c dx dt 1 kx 5 0 where x 5 displacement from equilibrium position (m), t 5 time  (s), m 5 20-kg mass, and c 5 the damping coeffi cient (N ? s/m).  The damping coeffi cient c takes on three values of 5 (underdamped), 40 (critically damped), and 200 (overdamped). The  spring constant k 5 20 N/m. The...

  • 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....

  • Given an underdamped single-degree-of-freedom system with m 10 kg. c = 20 Ns/m. k = 4000...

    Given an underdamped single-degree-of-freedom system with m 10 kg. c = 20 Ns/m. k = 4000 N/m. Assuming zero initial conditions Xo-Xo-0. response of the system to a unit step function f(t) - 1. itcx +Kx) steady-state value of the unit step response.

  • 3. Consider the equation of motion of a single-degree-of-freedom system: mi + ci + kx =...

    3. Consider the equation of motion of a single-degree-of-freedom system: mi + ci + kx = F(1) Derive the condition that leads to divergent oscillations in each of the following cases: (a) when the forcing function is proportional to the displacement, F(t) = F,x(t); when the forcing function is proportional to the velocity, F(t) = Fox(t); and (c) when the forcing function is proportional to the acceleration, F(t) = F,x(t).

  • NOTE: this is base excitation not force vibration. 1: For the single degree of freedom system...

    NOTE: this is base excitation not force vibration. 1: For the single degree of freedom system driven by a harmonic base motion we discussed in the class. The governing equation is given by mž + ci + kx = cy + ky Where y(t) = Y sin wt and w is the driving (excitation) frequency. Given the initial conditions are x(0) = x, and (0) = v.. Combine the homogeneous and particular solutions and satisfy the initial conditions to obtain...

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