summaryrefslogtreecommitdiff
path: root/3843/CH10/EX10.2/Ex10_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3843/CH10/EX10.2/Ex10_2.sce')
-rw-r--r--3843/CH10/EX10.2/Ex10_2.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3843/CH10/EX10.2/Ex10_2.sce b/3843/CH10/EX10.2/Ex10_2.sce
new file mode 100644
index 000000000..30f9f0d1d
--- /dev/null
+++ b/3843/CH10/EX10.2/Ex10_2.sce
@@ -0,0 +1,12 @@
+// Example 10_2
+clc;funcprot(0);
+// Given data
+T=400;// °C
+P=4;// MPa
+
+// Calculation
+// From steam tables
+dh=3330-3092;// kJ/kg
+ds=6.937-6.583;// kJ/kg.K
+dhbyds=dh/ds;// K
+printf("\n(dh/ds)_P=%3.0f K or %3.0f°C",dhbyds,dhbyds-273);