How To Calculate The Work Done