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)
`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

Kindly revert for any queries
Thanks.
Using a mathematical software (MATLAB, MAPLE, and etc) plot the free and forced vibration response of...
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...
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, 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
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...