A small ball is suspended from point O by a thread of length l. A nail is driven into the wall at a distance of l/2 below O