Question: Problem 3 . 3 The mass - spring model below is commonly used in vehicle suspension systems. The springs exert a force that is proportional
Problem
The massspring model below is commonly used in vehicle suspension systems. The springs exert
a force that is proportional to their compression. The side springs provide additional resistance if
the weight of the object is too heavy for the center spring.
In static equilibrium, the weight must balance the spring forces as shown in the following
equations.
where
is the displacement of the platform m
is the weight of the object
is the spring constant in the center spring
is the spring constant in the side springs
is vertical distance to the side springs
Write a function to calculate the displacement of the platform given the weight of the object
complete the following tasks:
a Define appropriate input arguments for the function. Assume that you will be given only
weight value not a vector of weight values
b Calculate the displacement of the platform given the weight of the object using the
equations above.
c Define appropriate output arguments for the function.
In the command window:
Test Case : Test the function with Check your answer with the solution below.
Test Case : Test the function with two other values. One value should test each condition
above.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
