1) 4.9 cm
The initial mechanical energy of the spring+mass system is sum of gravitational potential energy and elastic potential energy of the spring:
[tex]E=mgh+\frac{1}{2}kx^2[/tex]
where:
m = 2 kg is the mass
g = 9.8 m/s^2
h = 20 m is the height of the roof top
k = 40,000 N/m is the spring constant
x is the compression of the spring
When the mass hits the ground, its mechanical energy is just kinetic energy:
[tex]E=\frac{1}{2}mv^2[/tex]
where v = 21 m/s is the speed. Since energy is conserved, we can equalize the two expressions, and solving for x we find the compression of the spring:
[tex]mgh+\frac{1}{2}kx^2=\frac{1}{2}mv^2\\x = \sqrt{\frac{mv^2-2mgh}{k}}=\sqrt{\frac{(2 kg)(21 m/s)^2-2(2 kg)(9.8 m/s^2)(20 m)}{40000 N/m}}=0.049 m = 4.9 cm[/tex]
2) 79 J
The initial mechanical energy of the spring-mass system is
[tex]E_i=mgh+\frac{1}{2}kx^2=(2 kg)(9.8 m/s^2)(20 m)+\frac{1}{2}(40,000 N/m)(0.049 m)^2=440 J[/tex]
While the final mechanical energy of the mass is
[tex]E_f = \frac{1}{2}mv^2 = \frac{1}{2}(2 kg)(19 m/s)^2=361 J[/tex]
So, the energy lost due to air resistance is
[tex]\Delta E= E_i - E_f = 440 J-361 J=79 J[/tex]