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 --- 1472/CH10/EX10.4/10_4.sce | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 1472/CH10/EX10.4/10_4.sce (limited to '1472/CH10/EX10.4/10_4.sce') diff --git a/1472/CH10/EX10.4/10_4.sce b/1472/CH10/EX10.4/10_4.sce new file mode 100755 index 000000000..226948759 --- /dev/null +++ b/1472/CH10/EX10.4/10_4.sce @@ -0,0 +1,20 @@ +clc +//initialization of varaibles +x=0.4 +P=100 //psia +//calculations +y=1-x +disp("From table 2,") +vf=0.01774 +vg=4.432 +vx=x*vf+y*vg +hf=298.4 +hfg=888.8 +hx=hf+y*hfg +sg=1.6026 +sfg=1.1286 +sx=sg-x*sfg +//results +printf("Specific volume = %.3f cu ft/lb",vx) +printf("\n Enthalpy = %.1f B/lb",hx) +printf("\n Entropy = %.4f B/lb R",sx) -- cgit