Dan112
- 4
- 0
Hi.
I'd like to find the maximal extension of a spring. The spring has a spring constant k. There's a mass m connected on the spring. From a height h above the initial location of mass m another mass M falls. When the two masses make contact they move as one. I found two methods to calculate that extension but the solution differs slightly.
Method 1:
Solve a differential equation of Newton's law and use conservation of momentum in the boundary conditions:
(M+m)\frac{d^2x(t)}{dt^2}+kx(t)=(M+m)g
Which results in x(t) = A \sin(\omega t) + B \cos(\omega t) + \frac{(M+m)g}{k} with \omega=\sqrt{k/(M+m)}.
With boundary conditions x(0)=0 and \frac{dx(0)}{dt} (M+m) = \sqrt{2gh} M the coefficients A and B become \frac{M\sqrt{2gh}}{(M+m)\omega} and -\frac{(M+m)g}{k}.
The maximum of x(t) is \Delta=\sqrt{A^2+B^2}+\frac{(M+m)g}{k} = \sqrt{\frac{2ghM^2}{(M+m)k}+\frac{(M+m)^2g^2}{k^2}}+\frac{(M+m)g}{k}
Method 2:
Conservation of energy:
Mgh + (M+m)g\Delta=k\Delta^2/2
which results in
\Delta=\sqrt{\frac{2Mgh}{k} + \frac{(M+m)^2g^2}{k^2}} + \frac{(M+m)g}{k}
The first term under the square root differs. Why?
Thanks in advance
I'd like to find the maximal extension of a spring. The spring has a spring constant k. There's a mass m connected on the spring. From a height h above the initial location of mass m another mass M falls. When the two masses make contact they move as one. I found two methods to calculate that extension but the solution differs slightly.
Method 1:
Solve a differential equation of Newton's law and use conservation of momentum in the boundary conditions:
(M+m)\frac{d^2x(t)}{dt^2}+kx(t)=(M+m)g
Which results in x(t) = A \sin(\omega t) + B \cos(\omega t) + \frac{(M+m)g}{k} with \omega=\sqrt{k/(M+m)}.
With boundary conditions x(0)=0 and \frac{dx(0)}{dt} (M+m) = \sqrt{2gh} M the coefficients A and B become \frac{M\sqrt{2gh}}{(M+m)\omega} and -\frac{(M+m)g}{k}.
The maximum of x(t) is \Delta=\sqrt{A^2+B^2}+\frac{(M+m)g}{k} = \sqrt{\frac{2ghM^2}{(M+m)k}+\frac{(M+m)^2g^2}{k^2}}+\frac{(M+m)g}{k}
Method 2:
Conservation of energy:
Mgh + (M+m)g\Delta=k\Delta^2/2
which results in
\Delta=\sqrt{\frac{2Mgh}{k} + \frac{(M+m)^2g^2}{k^2}} + \frac{(M+m)g}{k}
The first term under the square root differs. Why?
Thanks in advance