結果 : heat and work are path function or point function