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 --- 2015/CH9/EX9.3/9_3.sce | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 2015/CH9/EX9.3/9_3.sce (limited to '2015/CH9/EX9.3') diff --git a/2015/CH9/EX9.3/9_3.sce b/2015/CH9/EX9.3/9_3.sce new file mode 100755 index 000000000..9cf6e6116 --- /dev/null +++ b/2015/CH9/EX9.3/9_3.sce @@ -0,0 +1,28 @@ +clc +//initialisation of variables +p2=3.24 //pressure in bar +p1=1 //pressure in bar +v1=16 //volume in m*m*m +n=1.35 +rp=3.24 //pressure +r=10.5 +t1=294 //temparature in k +t2=294 //temparature in k +cp=1.005 //kj/kg +rx=0.287 +//CALCULATIONS +w1=(2*n/(n-1))*p1*v1*100*0.35630 //(3.24)^0.2592-1 +w2=(n/(n-1))*p1*v1*100*0.8396 //(10.5)^0.2592-1 +pr1=w1/60 +pr2=w2/60 +tb=t1*(r)^(n-1/n) +t3=t2*(rp)^((n-1)/n) +m=(p1*v1*100)/(rx*t1) +hr=m*cp*(t3-t2) +ma=hr/(4.18*25) +//RESULTS +printf('minimum power required are %2fkw and %2fkw',pr1,pr2) +printf('\nmass of air compressed is %2fkg/min',m) +printf('\nheat rejected by air compressor is %2fkj/min',hr) +printf('\nmass of water is %2fkg/min',ma) + -- cgit