In one of the physics labs at our university, we have a steel "glider" on an air track. The glider is attached to a string connected to a spring at one end, and at the other end we have a string with a ball on the end. The string is looped over a pulley so that the ball hangs down. The track for the glider is horizontal. I've been trying to look at a theoretical version of this, and keep coming up with an answer that seems off to me and I was hoping someone might have some insight. In the real version, we pull the glider back (the ball comes upwards) and then let it go. The falling ball causes it to move forward with constant acceleration until the string becomes taught and then the spring now begins to stretch. This stretching spring begins to work against gravity eventually causing the glider to reverse direction and oscillate about some spot. I'm trying to model the motion beginning the instant the string becomes taught and the spring begins to stretch, so I'm calling that point $t=0$ s and $x=0$ m.
I'm taking the following constants as exact:
- $m_b$ = 0.15 kg (mass of the ball)
- $m_T$ = 0.65 kg (total mass of the system - glider plus ball)
- $g$ = 9.81 m/s$^2$ (acceleration due to gravity)
- $k$ = 7.3575 N/m (spring constant - chosen so that $m_bg=kx$ when $x=0.2$ m)
- $c$ = 0.4 (arbitrary damping coefficient)
- A "run-up" length of 0.2 m (i.e. the starts at $x=-0.2$ m and has constant acceleration until $x=0$ m.
This results in the glider having:
- $x[0]=0$ m
- $v[0]=0.951599$ m/s
- $a[0]=\frac{m_bg}{m_T}=2.26385$ m/s$^2$
I get a differential equation of the form:
$m_T \ddot x=m_bg-kx-c\dot x$
Solving that with the $v[0]$ and $a[0] boundary conditions results in:
$x[t]=e^{-0.307692t}(0.262983\sin(3.35031t)-0.252118\cos(3.35031t))+0.2$
However, this gives you $x[0]=-0.0517349$ m, rather than zero. Similarly, using any two other boundary conditions causes the third one to be incorrect. I assume one of my assumptions must be incorrect, but I'm not sure what. I don't believe this is a result of rounding as I've tried solving it exactly in Mathematica and get the same result.
I originally came across this trying to model both the initial run up and the harmonic oscillation using a piecewise function and found that if I use the $x[0]$ boundary condition, my glider comes to rest at $x=0.4517349$ m rather than at exactly 0.4 m as I would expect from setting the force of the spring equal to the force of gravity on the ball. If I don't include damping, everything works out exactly as I would expect. Am I doing something wrong with my damping maybe?
My questions: Why doesn't $x[0]=0$ m? Should it? In the case of a 0.2 m run up with a constant acceleration of 2.26385 m/s$^2$, should the glider come to a stop at 0.4 m or 0.4517349 m?
Plot of the damped harmonic oscillation beginning at $t=0$ s using the $v[0]$ and $a[0]$ boundary conditions.
Plot of the the damped harmonic oscillation beginning at $t=0.420346$ s with the lead up where only gravity affects the system plotted from $t=0$ s up to $t=0.420346$ s. The horizontal dashed line indicates $x=0.4517349$ m. Here, the spring kicks in at $x=0.2$ m.