summaryrefslogtreecommitdiff
path: root/2510/CH13/EX13.10/Ex13_10.sce
diff options
context:
space:
mode:
Diffstat (limited to '2510/CH13/EX13.10/Ex13_10.sce')
-rwxr-xr-x2510/CH13/EX13.10/Ex13_10.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/2510/CH13/EX13.10/Ex13_10.sce b/2510/CH13/EX13.10/Ex13_10.sce
new file mode 100755
index 000000000..00ec06062
--- /dev/null
+++ b/2510/CH13/EX13.10/Ex13_10.sce
@@ -0,0 +1,10 @@
+//Variable declaration:
+//From example 13.9:
+TS = -10.0+273.0 //Fluid’s saturation temperature expressed in Kelvin (K)
+QC = 160.0 //Heat absorbed by the evaporator (kJ/kg)
+
+//Calcuation:
+DS = QC/TS //Fluid’s change in entropy(kJ/kg.K)
+
+//Result:
+printf("The fluids change in entropy across the evaporator is : %.2f kJ/kg.K.",DS)