Question

Please help me code in MATLAB Consider a car of mass M that varies according to y, D sin (ot). The car is equipped with springs and shock absorbers and the vertical motion of the car is described by the following equation: d2y y(0)0 where M is the mass of the car (3000 lbm), y is the vertical displacement of the car in inches, t is the time in seconds, k is the spring constant (700 lbf/in), D is the amplitude for the variation in the contour of the road (2 in), ω is the frequency of the variations of the road contour seen be the car (6 rad/sec) and s is the damping constant for the shock absorbers (160 lbf-s/in). Note that the speed of the car and the contour of the road determine o in this case and that the second term in the equation represents the effect of the springs and the third term represents the effect of the shock absorbers. To ensure that you are properly using the intrinsic function ode45, numerically integrate the following IVP over a suitable time span and compare the result to the exact solution. dy/dt:-y y(0)-10 Plot the numerical and exact solutions on the same figure and label the curves in a legend.
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answerン given thal y M m that vaxia acco ding toys, DSin(wt) 0 puting valpes cy,a ,i,jkj in ean Sudy : DJk.tsư k-muo2 K. isn Basic knowled 마 topic System sobietto tosmom201 Fosce i Requixed

Add a comment
Know the answer?
Add Answer to:
Please help me code in MATLAB Consider a car of mass M that varies according to...
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