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