clear ; clc; // Example 21.5 printf('Example 21.5\n\n'); //page no. 629 // Solution printf('\n As we know that internal energy(U) is state variable , therefore change in internal energy(del_U) depends only on initial and final state , independent of the path taken for process.\n Hence, change in internal energy for both paths A and B are same. ');