A small block of mass 100 g is pressed against a horizontal spring