Tremendous heat and pressure within the earth cause the hot magma to flow in convection currents. These currents cause the movement of the tectonic plates that make up the earth's crust.
The elastic potential energy of a spring is equal to (1/2)kx^2, where k is the spring constant and x is the distance compressed. If the elastic PE is equal to 2J, we can solve for k. Make sure to convert units from cm to m: