blob: 501281a3aa964277f7cb99d7ce89474824f16fe1 (
plain)
1
2
3
4
5
6
7
8
9
|
//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
|