Answer:
![W=-\int_(0)^(50)[150-0.5y]dy](https://img.qammunity.org/2021/formulas/physics/college/tblb3z6bv6euqwfm97ilo8k3gfl0q0bfi8.png)
Step-by-step explanation:
the integral for the work is:

the work is against the gravitational force. While the coal is going up, M(y) is changing due to the length of the cable is lower. We can describe this by using the following formula

Thus , the integral for the work is:
![W=-\int_(0)^(50)[150-0.5y]dy](https://img.qammunity.org/2021/formulas/physics/college/tblb3z6bv6euqwfm97ilo8k3gfl0q0bfi8.png)
hope this helps!!