Physics 1: Mechanics · Work and energy

Work by a varying force

When a force changes as an object moves, the work it does comes from a graph's area, which is how springs are handled.