Question

2. Consider a spring-mass-damper system with oh-20 rad/s and K-1k = 0.010 mN that is initially at rest [y(0) = dydt(0)-0]. This systern is subjected to a step load F-10 N at t-0·Plot displacement y(t) for range 0StS0.8 for 3 different damping ratios(-0.40,1.00, 1.60) on a single graph (see Eq. 3.15). Use a software package to plot (Excel, MathCad, Matlab, etc.)-do not plot by hand. (12 points)

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

clc
clear all
eta=input('eta=');
syms y(t)
Dy = diff(y);
ode = diff(y,t,2)+(40*eta)*diff(y,t,1)+400*y == 40;%differential equation%
cond1 = y(0) == 0;%initial conditions%
cond2 = Dy(0) == 0;
conds = [cond1 cond2];
y(t) = dsolve(ode,conds);
t=0:0.01:0.8;
y1=y(t);
plot(t,y1)
hold on

に 2 K 2 ナ

Add a comment
Know the answer?
Add Answer to:
2. Consider a spring-mass-damper system with oh-20 rad/s and K-1k = 0.010 mN that is initially...
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