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 --- 2666/CH18/EX18.4/18_4.sce | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 2666/CH18/EX18.4/18_4.sce (limited to '2666/CH18/EX18.4') diff --git a/2666/CH18/EX18.4/18_4.sce b/2666/CH18/EX18.4/18_4.sce new file mode 100755 index 000000000..edf021a8a --- /dev/null +++ b/2666/CH18/EX18.4/18_4.sce @@ -0,0 +1,20 @@ + +clc +//initialisation of variables +f=18385//Btu per lb of fuel +m=925//Btu per lb +w=0.0159//ft +p=0.60//percent +h1=126.70//Btu per lb +h2=240.36//Btu per lb +hx=194.9//ft +w1=0.0119//lb fuel per lb air +q=1.0119//Btu per lb +p1=0.98//in +p2=28.77//ft +s=19800//ft in +g=398.47//ft +//CALCULATIONS +T=(q*(g-h2)*p1-(h1-p2)/p1)/(w1*s)*100//percent +//RESULTS +printf('the thermal efficency=% f percent',T) -- cgit