Question: spring force is a non-conservative force?
Answer: No, it is a conservative force. By definition of conservative forces, ... Since the formula for work done by the spring force in a spring-mass system is , only the initial position, , and the final position, , determine the work done.