summaryrefslogtreecommitdiff
path: root/3825/CH3/EX3.13
diff options
context:
space:
mode:
Diffstat (limited to '3825/CH3/EX3.13')
-rw-r--r--3825/CH3/EX3.13/Ex3_13.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3825/CH3/EX3.13/Ex3_13.sce b/3825/CH3/EX3.13/Ex3_13.sce
new file mode 100644
index 000000000..b5ccaee59
--- /dev/null
+++ b/3825/CH3/EX3.13/Ex3_13.sce
@@ -0,0 +1,12 @@
+clc
+P1=30 //pressure in bar
+P2=35 //pressure in bar
+P3=32 //pressure in bar
+vg1=0.06663 //at P1
+vg2=0.05703 //at P2
+hg1=2802.3 //at P1
+hg2=2802 //at P2
+vg=vg1+((vg2-vg1)*(P3-P1)/(P2-P1))
+hg=hg1+((hg2-hg1)*(P3-P1)/(P2-P1))
+mprintf("vg=%f metre-cube/kg\n",vg)
+mprintf("hg=%f kJ/kg\n",hg)