//Example 12_2 clc(); clear; //To estimate the Cv of nitric acid r=8314 //Units in J/Kmol K m=30 //Units in Kg/Kmol Cv=2.5*(r/m) //Units in J/Kg K printf("The estimated Cv value of nitric acid is Cv=%d J/Kg K",Cv) //in textbook the answer is printed wrong as Cv=690 J/Kg K correct answer is 692 J/Kg K