Content protected from screenshots
Question

How is the total work done calculated when the force varies with position?