summaryrefslogtreecommitdiff
path: root/3878/CH11/EX11.2/Ex11_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3878/CH11/EX11.2/Ex11_2.sce')
-rw-r--r--3878/CH11/EX11.2/Ex11_2.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3878/CH11/EX11.2/Ex11_2.sce b/3878/CH11/EX11.2/Ex11_2.sce
new file mode 100644
index 000000000..208ab15d3
--- /dev/null
+++ b/3878/CH11/EX11.2/Ex11_2.sce
@@ -0,0 +1,12 @@
+clear
+// Variable declaration
+T_a=20// The ambient temperature in °C
+m_p=10// g
+
+// Calculation
+P_v=10.34// Vapour pressure of R407C at 20°C in bar abs
+P_o=11.70// Observed pressure in bar abs
+P_p=P_o-P_v// Partial pressure of non-condensible gas in bar abs
+M_m=(0.23*52)+(0.25*120)+(0.52*102)// Molecular mass
+printf("\n \nPartial pressure of non-condensible gas=%1.2f bar abs \n Molecular mass=%2.0f",P_p,M_m)
+