Question: We want to analyze the mass-spring system discussed in Problem 20 for the case in which the weight W is dropped onto the platform attached

We want to analyze the mass-spring system discussed in Problem 20 for the case in which the weight W is dropped onto the platform attached to the center spring. If the weight is dropped from a height h above the platform, we can find the maximum spring compression x by equating the weight’s gravitational potential energy W(h + x) with the potential energy stored in the springs. Thus

 W (h + x) = k if x


which can be solved for x as

W (h + x) = k if x


With


which gives the following quadratic equation to solve for x:


a. Create a function le that computes the maximum compression x due to the falling weight. The function’s input parameters are k1, k2, d, W, and h. Test your function for the following two cases, using the values k1 = 104 N/m; k2 = 1.5 × 104 N/m; and d = 0.1m.

W = 100N h = 0.5m

W = 2000N  h = 0.5m


b. Use your function le to generate a plot of x versus h for 0 ≤ h ≤ 2 m. Use W = 100 N and the preceding values for k1, k2, and d.

W (h + x) = k if x

Step by Step Solution

3.31 Rating (163 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

import numpy as np import matplotlibpyplot as plt def maxcompressionk1 k2 d W h if W ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Introduction Mechanical Engineering Questions!