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.1/18_1.sce | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 2666/CH18/EX18.1/18_1.sce (limited to '2666/CH18/EX18.1') diff --git a/2666/CH18/EX18.1/18_1.sce b/2666/CH18/EX18.1/18_1.sce new file mode 100755 index 000000000..d87355e52 --- /dev/null +++ b/2666/CH18/EX18.1/18_1.sce @@ -0,0 +1,15 @@ +clc +//initialisation of variables +r=6//ratio +p1=28.77//ft +p2=126.70//ft +p3=398.47//ft +p4=240.36//ft +v=19800//btu per lb +w=0.0159//ft +m=0.98//percent +s=1.0159//Btu per lb +//CALCULATIONS +E=(s*(p3-p4)*m-(p2-p1)/m)/(w*v)*100//percent +//RESULTS +printf('the actual thermal efficiency of a gas turbine=% f percent',E) -- cgit