Consider the work done by gravity and a spring:
a) Discover an expression for the work done by gravity on a mass m as it is raised a distance h vertically.
b) A spring with constant k is horizontal (ignore gravity) and starts out compressed a distance x. Discover work done by the spring on a mass m when the spring is released and moves back to its equilibrium position (x=0)
c) Discover the work done by the spring on the mass m if the mass starts out at the springs equilibrium (x=0) and compresses the spring a distance of x
d) Discover the work done by the spring on the mass m if the mass starts out at the spring equilibrium (x=0) and compresses the spring a distance x