結果 : work done is a state function or path function