The problem of a stick falling on a frictionless surface is way more complicated than it should be.
Where theta is the angle with the vertical, Mg is the force of gravity, and the length of the bar is 2h.
Mathematica keeps dieing when I try and solve this equation.