Question: is mechanical energy conserved in the oscillating mass on the spring?
Answer: Mechanical energy is conserved; the sum of the elastic and gravitational potential energies is the same at the top and bottom of the oscillation. ... A stiffer spring would give greater values for the spring constant. The elastic potential energy would be greater, but the gravitational potential energy would not change.