A spring of spring constant k placed horizontally on a rough horizontal surface is compressed against a block of mass m placed on the surface so as to store maximum energy in the spring. If the coefficient of friction between the block and the surface is μ, the potential energy stored in the spring is: