summaryrefslogtreecommitdiff
path: root/779/CH12/EX12.1/12_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '779/CH12/EX12.1/12_1.sce')
-rwxr-xr-x779/CH12/EX12.1/12_1.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/779/CH12/EX12.1/12_1.sce b/779/CH12/EX12.1/12_1.sce
new file mode 100755
index 000000000..4b1466c17
--- /dev/null
+++ b/779/CH12/EX12.1/12_1.sce
@@ -0,0 +1,12 @@
+// Part (a)
+P1 = 1e05;
+P2 = 10e05;
+vf = 0.001043;
+Wrev = vf*(P1-P2);
+disp("kJ/kg",Wrev/1000,"The work required in saturated liquid form is")
+// Part (b)
+h1 = 2675.5; s1 = 7.3594;
+s2 = s1;
+h2 = 3195.5;
+Wrev1 = h1-h2;
+disp("kJ/kg",Wrev1,"The work required in saturated vapour form is")