summaryrefslogtreecommitdiff
path: root/2870/CH12/EX12.5/Ex12_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '2870/CH12/EX12.5/Ex12_5.sce')
-rwxr-xr-x2870/CH12/EX12.5/Ex12_5.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/2870/CH12/EX12.5/Ex12_5.sce b/2870/CH12/EX12.5/Ex12_5.sce
new file mode 100755
index 000000000..b85c91915
--- /dev/null
+++ b/2870/CH12/EX12.5/Ex12_5.sce
@@ -0,0 +1,18 @@
+clc;clear;
+//Example 12.5
+
+//given data
+T=20+273.15;//converted into K
+
+//from Table A–11
+vf=0.0008161;
+vg=0.035969;
+
+//calculations
+//using Eq 12-22
+// hfg= T*vfg*(dP/dT)sat
+//(dP/dT)sat b/w 24 C - 16 C
+dPT=(646.18-504.58)/(24-16);//dP/dT ; values from Table A–11
+vfg=vg-vf;
+hfg=T*vfg*dPT;
+disp(hfg,'the value of the enthalpy of vaporization of refrigerant-134a in kJ/kg')