The steel ball A of diameter D slides freely on the horizontal rod which leads to the pole face of the electromagnet. The force of attraction obeys an inverse square law, and the resulting acceleration of the ball is a= K/(L-x)^2, where K is a measure of the strength of the magnetic field. If the ball is released from rest at x = 0, determine the velocity v with which it strikes the pole face.