Question

Using a mathematical software (MATLAB, MAPLE, and etc) plot the free and forced vibration response of...

Using a mathematical software (MATLAB, MAPLE, and etc) plot the free and forced vibration response of a viscously damped system (x(t), dx(t)/dt, d2x(t)/dt2) with m=4kg, k=2500 N/m, x0=100 mm, v0=-10 m/s, Δt=[0,0.01], [0,1], and [0,10] for the following values. Also determine the nature of the system (un-damped, under damped, critically damped, and over damped). (5 marks) a. c=0, F=100 sinωt (ω=20,25,30)

0 0
Add a comment Improve this question Transcribed image text
Answer #1

`Hey,

Note: Brother if you have any queries related the answer please do comment. I would be very happy to resolve all your queries.

clear all

clc

close all

m=4;

k=2500;

w=[20,25,30];

for i=1:length(w)

figure;

f=@(t,y) [y(2);(100*sin(w(i)*t)-k*y(1))/m];

[T,Y]=ode45(f,[0,0.01],[100,-10]);

plot(T,Y(:,1),T,Y(:,2));

legend('x(t)','dx/dt');

s=sprintf('For w=%d',w(i));

title(s);

figure;

f=@(t,y) [y(2);(100*sin(w(i)*t)-k*y(1))/m];

[T,Y]=ode45(f,[0,1],[100,-10]);

plot(T,Y(:,1),T,Y(:,2));

legend('x(t)','dx/dt');

s=sprintf('For w=%d',w(i));

title(s);

figure;

f=@(t,y) [y(2);(100*sin(w(i)*t)-k*y(1))/m];

[T,Y]=ode45(f,[0,10],[100,-10]);

plot(T,Y(:,1),T,Y(:,2));

legend('x(t)','dx/dt');

s=sprintf('For w=%d',w(i));

title(s);

end

M Inbox - gurkaranpreetsingh.m x C Using A Mathematical Softwar X MATLAB Online R2019a X C Write A MATLAB Program To A x C My

Kindly revert for any queries

Thanks.

Add a comment
Know the answer?
Add Answer to:
Using a mathematical software (MATLAB, MAPLE, and etc) plot the free and forced vibration response of...
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
  • 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...

  • ' 1. Review Question a) Name three applications for feedback control systems. b) Functionally, ho...

    ' 1. Review Question a) Name three applications for feedback control systems. b) Functionally, how do closed-loop systems differ from open-loop systems? c) Name the three major design criteria for control systems. d) Name the performance specification for first-order systems. e) Briefly describe how the zeros of the open-loop system affect the root locus and the transient response. What does the Routh-Hurwitz criterion tell us? f) 2. Given the electric network shown in Figure. a) Write the differential equation for...

  • help me with this. Im done with task 1 and on the way to do task...

    help me with this. Im done with task 1 and on the way to do task 2. but I don't know how to do it. I attach 2 file function of rksys and ode45 ( the first is rksys and second is ode 45) . thank for your help Consider the spring-mass damper that can be used to model many dynamic systems -- ----- ------- m Applying Newton's Second Law to a free-body diagram of the mass m yields the...

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