Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write down the code And take a screenshot for the outputs MATLAB A shock absorber system can be modeled as a mass, a spring and

image text in transcribed

Write down the code And take a screenshot for the outputs MATLAB

A shock absorber system can be modeled as a mass, a spring and a damper as in the picture below. The mass can only move back and forth in the x-direction. Its displaced position will be designated by x, and its velocity by v rin mass X, dam x-0 starting point An engineer has derived the following equations to describe the behavior of the system. (Assume that we are using SI units, with kilograms, meters, and seconds.) -=-2.400 u-4.000 ? At time zero, an impulse loading is supplied to the system. The effect is to give the mass an instantaneous velocity in the positive x-direction. The initial conditions may then be written as follows u(0)= 2.000 x(0)= 0.000 The resulting motion of the mass is an exponentially decaying sine curve. The mass will move to the right and reach a maximum position Xmax at time tmax The mass will then move back to the left, passing through the starting point and reach a minimum (maximum negative valued) position Xmin at time min Further oscillations of decreasing amplitude will follow 1. (40 points) Use Matlab to plot the value of displaced position x as a function of time starting at time 0 and ending at a time of 5 2. (20 points) The program should print out the values of Xmax, tmas, Xmin and tmin with statements using the following format. Maximum displacement of X.XxX meters occurs at time X.Xxx seconds. Minimum displacement of -X.XXX meters occurs at time X.XXx seconds A shock absorber system can be modeled as a mass, a spring and a damper as in the picture below. The mass can only move back and forth in the x-direction. Its displaced position will be designated by x, and its velocity by v rin mass X, dam x-0 starting point An engineer has derived the following equations to describe the behavior of the system. (Assume that we are using SI units, with kilograms, meters, and seconds.) -=-2.400 u-4.000 ? At time zero, an impulse loading is supplied to the system. The effect is to give the mass an instantaneous velocity in the positive x-direction. The initial conditions may then be written as follows u(0)= 2.000 x(0)= 0.000 The resulting motion of the mass is an exponentially decaying sine curve. The mass will move to the right and reach a maximum position Xmax at time tmax The mass will then move back to the left, passing through the starting point and reach a minimum (maximum negative valued) position Xmin at time min Further oscillations of decreasing amplitude will follow 1. (40 points) Use Matlab to plot the value of displaced position x as a function of time starting at time 0 and ending at a time of 5 2. (20 points) The program should print out the values of Xmax, tmas, Xmin and tmin with statements using the following format. Maximum displacement of X.XxX meters occurs at time X.Xxx seconds. Minimum displacement of -X.XXX meters occurs at time X.XXx seconds

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Joe Celkos Data And Databases Concepts In Practice

Authors: Joe Celko

1st Edition

1558604324, 978-1558604322

Students also viewed these Databases questions