Work Done Formula In Thermodynamics