summaryrefslogtreecommitdiff
path: root/3825/CH5/EX5.3/Ex5_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3825/CH5/EX5.3/Ex5_3.sce')
-rw-r--r--3825/CH5/EX5.3/Ex5_3.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3825/CH5/EX5.3/Ex5_3.sce b/3825/CH5/EX5.3/Ex5_3.sce
new file mode 100644
index 000000000..ae6b82b61
--- /dev/null
+++ b/3825/CH5/EX5.3/Ex5_3.sce
@@ -0,0 +1,11 @@
+clc
+hf=417.54 //in kJ/kg
+hg=2675.4 //in kJ/kg
+vf=0.0010434 //in metre-cube/kg
+vg=1.694 //in metre-cube/kg
+P=100 //pressure in kPa
+W=P*10^3*(vg-vf)
+mprintf("W=%fkJ\n",W*10^-3)//ans vary due to roundoff error
+q=hg-hf
+mprintf("q=%fkJ\n",q)
+