summaryrefslogtreecommitdiff
path: root/2417/CH5/EX5.36/Ex5_36.sce
blob: 38f0ba3e6395cb4ca9840cb5994db0fcd9d7a371 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 5.36\n\n\n");
// Chapter 5 : Properties Of Liquids And Gases
// Problem 5.36  (page no. 219) 
// Solution

//Because the tank volume is 10 ft^3,the final specific volume of the steam is 10 ft^3/lbm.Interpolations in Table A.2 yield a final pressure of 42 psia.The heat    added is simply difference in internal energy between the two states.
u2=1093.0; //internal energy //Btu/lbm
u1=117.95; //internal energy //Btu/lbm
q=u2-u1; //heat added //Btu/lbm
printf("The final pressure is 42 psia and the heat added is %f Btu/lbm\n",q);