diff options
Diffstat (limited to '3685/CH8/EX8.10/Ex8_10.sce')
-rw-r--r-- | 3685/CH8/EX8.10/Ex8_10.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/3685/CH8/EX8.10/Ex8_10.sce b/3685/CH8/EX8.10/Ex8_10.sce new file mode 100644 index 000000000..32304cdc5 --- /dev/null +++ b/3685/CH8/EX8.10/Ex8_10.sce @@ -0,0 +1,10 @@ +clc
+m = 3 // Mass flow rate in kg/s
+R = 0.287 // Gas constant
+T0 = 300 // Ambient temperature in K
+k = 0.10 // Fractional pressure drop
+printf("\n Example 8.10")
+Sgen = m*R*k // Entropy generation
+I = Sgen*T0 // Irreversibility Calculation
+printf("\n The rate of energy loss because of the pressure drop due to friction %f kW",I)
+
|