V = s0 / at
S = s0 + 1/2 (v0 + v)t
S = s0 + v0t + 1/2 at^2
V^2 = V0 ^2 + 2aD2
S = S0 + VT - 1/2at^"
where...
v is the body's initial velocity
s is the body's initial position
and its current state is described by:
v the velocity at the end of the interval
s the position at the end of the interval (displacement)
D the time interval between the initial and current states
a the constant acceleration, or in the case of bodies moving under the influence of gravity, g.
You can't use simple A-level physics to answer this. The rod would compress as it moves.