blob: 60384dc66b3655e3e74c0f36b804b2e34b2a8f9d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
clc
clear
//INPUT DATA
cp=0.23;//specific heat at constant pressure in kj/kg-K
a=1.18;//density of air in gm/lit
J=4.2*10^7;//mechanical equivalent of heat in ergs/cal
t=300;//temperature of air in kelvin
p=73*13.6*981;//pressure of air in dynes
//cp-cv=(r/J)=pv/(tj)
//CALCULATON
cv=cp-(p*1000/(a*t*J));//specific heat at constant volume in calories
//OUTPUT
mprintf('the specific heat at constant volume is %3.5f calories',cv)
|