One end of a massless spring is attached to a vertical wall and the other end is attached to a block of mass 2.0 Kg on a frictionless horizontal surface. Initially the spring is at its relaxed position and the block is stationary. Then a constant force F pulls the block horizontally to the right.
When the spring is stretched by 1.0 m, the block reaches a maximal kinetic energy of 4.0 J. The block stops when the spring is stretched by 2.0 m.
Please find the spring constant k and the magnitude of the horizontal component of force F.
Am I right for using the following equation?
KEi + Ui = KEf + Uf
1/2mu^2 + 1/2k(xi)^2 = 1/2mv^2 +1/2k(xf)^2
4 + 1/2k(1)^2 = 0 + 1/2k(2)^2
k=8/3 N/m
&
F=k(2)=16/3N
Thank you.