a railways engineer uses dimensional analysis and assumes that the distance depends on the mass density