blob: a507c7648b7e4182b7cfd1f5c777b923aee66bcb (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
clc
//initialization of varaibles
R=48.3 //ft lb/lb R
k=1.4
//calculations
dc=R/778
cp=k*dc/(k-1)
cv=cp/k
//results
printf("Specific heat at constant volume = %.3f B/lb R",cv)
printf("Specific heat at constant pressure = %.3f B/lb R",cp)
|