summaryrefslogtreecommitdiff
path: root/3511/CH6/EX6.10
diff options
context:
space:
mode:
Diffstat (limited to '3511/CH6/EX6.10')
-rw-r--r--3511/CH6/EX6.10/Ex6_10.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3511/CH6/EX6.10/Ex6_10.sce b/3511/CH6/EX6.10/Ex6_10.sce
new file mode 100644
index 000000000..c50ed2574
--- /dev/null
+++ b/3511/CH6/EX6.10/Ex6_10.sce
@@ -0,0 +1,16 @@
+clc;
+eff_C=0.85; // Isentropic efficiency of the compressor
+rp=4; // Pressure ratio
+r=1.4; // specific heat ratio
+eff_pc=(((r-1)/r)*log (rp))/log (((rp^((r-1)/r)-1)/eff_C)+1);
+disp ("%",eff_pc*100,"Polytropic efficiency = ");
+disp ("variation of compressor efficiency with compression ratio is shown in window1");
+xset('window',1);
+function eff_c=f(rc)
+ eff_c=(rc^0.286-1)/(rc^0.326-1);
+endfunction
+rc=linspace (2,10,4);
+plot(rc,f);
+title ("variation of compressor efficiency with compression ratio","fontsize",4,"color","blue");
+xlabel("compression ratio (rc)","fontsize",4,"color","blue");
+ylabel ("Compressor efficiency","fontsize",4,"color","blue");