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