(a) The change in internal energy along path ab can be found according to the second law of thermodynamics:
(b) The energy transferred as heat along path bc: