suppose you have a block resting on a horizontal smooth surface. th block with a mass m is attached to a horizontal spring which is fixed at one end. the spring can be compressed and stretched. the mass is pulled to one side then released what is the formula required