consider a spring that exerts a horizontal force that is proportional to its deflection in the "x" direction independent of how a body moves. the work of this spring on a body moving along the space with the curve , is calculated using its velocity, , to obtain