diff options
Diffstat (limited to '3831/CH12/EX12.5/Ex12_5.sce')
-rw-r--r-- | 3831/CH12/EX12.5/Ex12_5.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/3831/CH12/EX12.5/Ex12_5.sce b/3831/CH12/EX12.5/Ex12_5.sce new file mode 100644 index 000000000..818e2e88a --- /dev/null +++ b/3831/CH12/EX12.5/Ex12_5.sce @@ -0,0 +1,15 @@ +// Example 12_5
+clc;funcprot(0);
+// Given data
+T_m1=20.0+273.15;// K
+p_m1=0.101;// MN/m^2
+p_m2=1.08;// MN/m^2
+k_m=1.66;// The specific heat ratio of the mixture
+c_pm=4.61;// kJ/kg.K
+
+// Calculation
+T_m2=T_m1*((p_m2/p_m1)^((k_m-1)/k_m));// K
+T_m2C=T_m2-273.15;// °C
+Wbym_m=c_pm*(T_m1-T_m2);// kJ/kg
+printf("\nThe power per unit mass flow rate required to isentropically compress the helium-oxygen mixture,Wdot/mdot_m=%4.0f kJ/kg",Wbym_m);
+// The answer provided in the textbook is wrong
|