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 --- 2870/CH7/EX7.15/Ex7_15.sce | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 2870/CH7/EX7.15/Ex7_15.sce (limited to '2870/CH7/EX7.15') diff --git a/2870/CH7/EX7.15/Ex7_15.sce b/2870/CH7/EX7.15/Ex7_15.sce new file mode 100755 index 000000000..dd1db65d2 --- /dev/null +++ b/2870/CH7/EX7.15/Ex7_15.sce @@ -0,0 +1,26 @@ +clc;clear; +//Example 7.15 + +//given data +P1=100; +T1=285; +P2=800; +m=0.2; +nc=0.8; + +//from Table A-17 +//at T1 +h1=285.14; +Pr1=1.1584; + +//calcualtions +Pr2=Pr1*(P2/P1); +//at Pr2 +h2s=517.05; +h2a=(h2s-h1)/nc+h1; +//at h2a +T2a=569.5; +disp(T2a,'exit temperature of air in K'); +//Ein = Eout +Wa=m*(h2a-h1); +disp(round(Wa),'required power input in kW') -- cgit