Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Task: Bilatein has developed a new shack absorber system for racing cars. This new shock has different dampening behaviar that is dependent an the amount

Task: Bilatein has developed a new shack absorber system for racing cars. This new shock has different
dampening behaviar that is dependent an the amount of compression the shock is seeing. At the crossover point
(cp) of compression [x), the spring constant (k) changes from a linear behavior to a non-linear behawior. The
expressions of the spring constants at different compression ranges are shown in the table below:
Shack Behavior
The current parameters for the shock aborber are shown in the table below:
Parameters
Dampening Force (F) is defined as
F=kx
As the new engineer and MATLAB expert in the design group, you are tasked with writing a MATLAB code that
will plot the force as a function of compression, so the department hesd can visualize the dampening behavior. It
is also desired to have a waming displayed if the total travel goes past the maximum compression, which would
bottom out the shock absorber. Since the spring constant, crossaver paint and maximum compression may still
be changed, you need to keep these as variables in your calculations for quick adjustment.
Write a MATLAB script file [m-file) that will calculate the dampening force (F) as a function of the compression,
(x) and generates a plot.
Your script file should da the follawing:
A. Declare all parameters as variables at the beginning of the script file and use these variables in your
subsequent calculations.
B. Include detailed comments on all lines of code that say what the line of code is daing and include units, if
applicable.
C. Contain a decisional structure to account for the changing spring constant with compressian. The structure
should also issue a warning if the travel will exceed the maximum compression.
D. Make 2D plats of the dompening force (F) as function of compression. [x] Maloe a plot for two compression
ranges that are shown in the sarne figure window:
From 0 to maximum compression
2.2mm below to 2mm above the crassover paint.
Label both axis with units, title and add grid lines on both plats.
Extra Credit [1pts)
Place the decisianal structure you developed in part C in a MATLAB function file that is appended to the script
file you created. Call the function file and pass the compression, (k) crossover point, (cp) spring constant (k) and
the maximum compressian (x_max) to the function file to calculate the dampening force. The script and function
file must be included in m-file that you are submitting to CANVAS.
image text in transcribed

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

More Books

Students also viewed these Databases questions