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 --- 1460/CH12/EX12.9/12_9.sce | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 1460/CH12/EX12.9/12_9.sce (limited to '1460/CH12/EX12.9/12_9.sce') diff --git a/1460/CH12/EX12.9/12_9.sce b/1460/CH12/EX12.9/12_9.sce new file mode 100755 index 000000000..51f2593f7 --- /dev/null +++ b/1460/CH12/EX12.9/12_9.sce @@ -0,0 +1,21 @@ +clc +//initialization of variables +T1=80+460 //R +T2=90+460 //R +P=14.5 //lb/in^2 +cp=0.24 +//calculations +disp("From steam tables,") +hg2=1096.6 +hf3=48.02 +Pg2=0.5069 +hf2=hf3 +Pair=P-Pg2 +wg2=0.622*Pg2/Pair +hgv1=1100.9 +wwv1=(cp*(T1-T2)+wg2*(hg2-hf3))/(hgv1-hf3) +Pg=0.6982 +xi=wwv1*(P-Pg)/(Pg*0.622) +//results +printf("Specific humidity = %.4f lbm/lbm",wwv1) +printf("\n relative humidity = %.2f",xi) -- cgit