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