Content protected from screenshots
Question

Why is integration used to calculate the total work done in charging a capacitor?