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 --- 2735/CH12/EX12.8/Ex12_8.sce | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 2735/CH12/EX12.8/Ex12_8.sce (limited to '2735/CH12/EX12.8') diff --git a/2735/CH12/EX12.8/Ex12_8.sce b/2735/CH12/EX12.8/Ex12_8.sce new file mode 100755 index 000000000..84c738348 --- /dev/null +++ b/2735/CH12/EX12.8/Ex12_8.sce @@ -0,0 +1,23 @@ +clc +clear +//Initialization of variables +p1=400 //psia +t1=600 //F +h1=1306.9 //Btu/lbm +b1=480.9 //Btu/lbm +p2=50 //psia +h2=1122 //Btu/lbm +h3=1169.5 //Btu/lbm +b3=310.9 //Btu/lbm +//calculations +disp("All the values are obtained from Mollier chart,") +dw13=h1-h3 +dw12=h1-h2 +dasf=b3-b1 +etae=dw13/dw12 +eta=abs(dw13/dasf) +dq=dw13+dasf +//results +printf("Engine efficiency = %.1f percent",etae*100) +printf("\n Effectiveness = %.1f percent",eta*100) +printf("\n Loss of available energy = %.1f Btu/lbm",dq) -- cgit