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 --- 2837/CH10/EX10.13/Ex10_13.sce | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 2837/CH10/EX10.13/Ex10_13.sce (limited to '2837/CH10/EX10.13') diff --git a/2837/CH10/EX10.13/Ex10_13.sce b/2837/CH10/EX10.13/Ex10_13.sce new file mode 100755 index 000000000..9dfad50f4 --- /dev/null +++ b/2837/CH10/EX10.13/Ex10_13.sce @@ -0,0 +1,17 @@ +clc +clear +//Initialization of variables +ps=216 //psig +pb=29.12 //in of Hg +p2=0.4 //in +t2=244 //F +//calculations +pa=0.491*pb +pabs=pa + p2*0.491 +plb=pa+ ps +hcal=1166.5 //Btu/lb +h2=1200.1 //Btu/lb +h3=831.9 //Btu/lb +y=-(hcal-h2)/h3 +//results +printf("Mean state in the line is %.1f psia with a moisture content of %.2f percent",plb,y*100) -- cgit