A cable exerts a constant upward tension of magnitude 2. 58 ✕ 104 n on a 2. 40 ✕ 103 kg elevator as it rises through a vertical distance of 1. 70 m.

(a) Find the work done by the tension force on the elevator (in J). (b) Find the work done by the force of gravity on the elevator (in J)