From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1100/CH10/EX10.6/10_6.sce | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 1100/CH10/EX10.6/10_6.sce (limited to '1100/CH10/EX10.6') diff --git a/1100/CH10/EX10.6/10_6.sce b/1100/CH10/EX10.6/10_6.sce new file mode 100755 index 000000000..cb9c95d09 --- /dev/null +++ b/1100/CH10/EX10.6/10_6.sce @@ -0,0 +1,19 @@ + clc +//initialisation of variables +P= 15 //psia +S= 1.7050 //Btu/lb R +sg= 1.7549 //btu/lb R +sfg= 1.4415 //Bru/lb R +hg= 1150.8 //btu/lb +hfg= 969.7 //Btu/lb +vg= 26.29 //cu ft/lb +vfg= 26.27 //cu ft/lb +//CALCULATIONS +n= (sg-sx)/sfg +sx= sg-n*sfg +hx= hg-n*hfg +vx= vg-n*vfg +//RESULTS +printf ('Volume= %.2f cu ft/lb',vx) +printf (' \n Entropy = %.2f Btu/lb R',sx) +printf (' \n Enthalpy= %.1f Btu/lb',hx) -- cgit