summaryrefslogtreecommitdiff
path: root/2417/CH6/EX6.12/Ex6_12.sce
blob: 076503ae136ef805c3653b171f771c900d83bf2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clear;
clc;
printf("\t\t\tProblem Number 6.12\n\n\n");
// Chapter 6: The Ideal Gas
// Problem 6.12 (page no. 255) 
// Solution

//The molecular weight of oxygen is 32.Therefore,
R=1545/32; //Unit:ft*lbf/lbm*R //constant of proportionality
J=778; //conversion factor
cp=0.24; //Unit:Btu/lbm*R //specific heat at constant pressure
//cp-cv=R/J
cv=cp-(R/J); //specific heat at constant volume //unit:Btu/lbm*R
printf("Specific heat at constant volume is %f Btu/lbm*R\n",cv);