Work Calculation in Electrochemistry