From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3831/CH13/EX13.12/Ex13_12.sce | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 3831/CH13/EX13.12/Ex13_12.sce (limited to '3831/CH13/EX13.12/Ex13_12.sce') diff --git a/3831/CH13/EX13.12/Ex13_12.sce b/3831/CH13/EX13.12/Ex13_12.sce new file mode 100644 index 000000000..2582091ca --- /dev/null +++ b/3831/CH13/EX13.12/Ex13_12.sce @@ -0,0 +1,18 @@ +// Example 13_12 +clc;funcprot(0); +// Given data +p_4s=0.210;// MPa +p_1=p_4s;// MPa +p_3=0.190;// MPa +p_2s=p_3;// MPa +k=1.4;// The specific heat ratio + +// Calculation +// (a) +PR=p_4s/p_3;// The isentropic pressure ratio of a Brayton cycle engine +// (b) +CR=(PR)^(1/k);// The isentropic compression ratio of a Brayton cycle engine +// (c) +n_T_B=(1-((PR)^((1-k)/k)))*100;// The Brayton cold ASC thermal efficiency +printf("\n(a)The isentropic pressure ratio,PR=%1.2f \n(b)The isentropic compression ratio,CR=%1.2f \n(c)The Brayton cold ASC thermal efficiency,n_T=%1.2f percentage",PR,CR,n_T_B); +// The answer vary due to round off error -- cgit