Calculation of Work with Correct Units