Work Formula With Integral