A body of mass m is attached to a spring of spring constant k which hangs from the ceiling of an elevator at rest in equilibrium. Now the elevator starts accelerating upwards with its acceleration varying as a=pt+q, where p and q are positive constants. In the frame of the elevator