結果 : work and heat is state function or path function