(a) As the elevator car is a translating non-inertial frame, therefore the body m will experience an inertial force mw directed downward in addition to the real forces in the elevator' frame. From the Newton' second law in projection form
Fy = mwy for the body in the frame of elevator car:
(Because the initial elongation in the spring is mg/k)
Eqn. (1) show that the motion of the body m is *.H.M and its solution becomes
(b) proceed up to eqn. (1). The solution of this differential eqn be of the form: