//To calculate the increase in Internal Energy in the process //Example 26.1 clear; clc; delQ=418;//Heat given to the gas in Joules delW=40;//Work done by the gas in Joules delU=delQ-delW;//formula for finding increase the internal energy printf("Increase in Internal Energy=%.f joule",delU);