Beruflich Dokumente
Kultur Dokumente
Springs play a very important role in the automotive industries. It usually applies in the suspension
system of automobiles as a mass damper system. Springs make up for irregularities in the road
surface, maintain the suspension system at a predetermined height and support added weight
without excessive sagging. Owing to its crucial application in the automobile system, properties
of springs have become a major concern of automobile manufacturers. Thus, springs have to be
tested and examined before being fitted into vehicles. One important parameter of springs is the
spring constant, k which defines its properties such as stiffness and strength. Different types of
materials and designs of the springs will have different k values.
b) Calculate the force applied on each spring needed to produce a compression, x of 3 meters.
Display the data in a table. (fprintf)
d) Create a script to allow user to calculate the force needed to exert a compression of x(input)
for different springs. Choose the best spring for car suspension purpose.
(Chapter 4.6: The switch structure)
e) The spring determined is used to make car suspensions for Vehicle A. Force exerted on the
spring must not more than 50kN or else it will be permanently deformed. Calculate the
maximum compression of the spring. (while loop)
f) Display the change of force to be exerted on the spring, F when spring compression, x
changes from x = 0 to x = 500 meters. Plot a graph of F against x and find F when x = 253
meters. (plot, interpolate)
𝑑𝐹 𝑑𝐹
g) Find and plot a graph of against spring compression, x. Find an equation which
𝑑𝑋 𝑑𝑋
best fits the data. (polyfit, plot)
𝑑2𝑠 𝑑𝑠
𝑚 2
+ 𝑐 + 𝑘𝑠 = 0
𝑑𝑡 𝑑𝑡
i) Solve the response of the system for five cycles with the variable values as below:
𝑑𝑠
ξ = 0.1; m = 1kg; k = 100N/m; s(0) = 0.02m; (0) = 0;
𝑑𝑡
Chapter 3
Subtopic No Command Function
3.1