summaryrefslogtreecommitdiff
path: root/2495/CH4/EX4.6.4/Ex4_6_4.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2495/CH4/EX4.6.4/Ex4_6_4.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2495/CH4/EX4.6.4/Ex4_6_4.sce')
-rw-r--r--2495/CH4/EX4.6.4/Ex4_6_4.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/2495/CH4/EX4.6.4/Ex4_6_4.sce b/2495/CH4/EX4.6.4/Ex4_6_4.sce
new file mode 100644
index 000000000..287e2606e
--- /dev/null
+++ b/2495/CH4/EX4.6.4/Ex4_6_4.sce
@@ -0,0 +1,19 @@
+clear
+clc
+X1=4/100;// amount of NH3 solution
+X2=(1-X1);//amount of water]
+P=17;//vapour pressure of pure water
+PT=50;//total pressure in torr
+P2=(P*X2);//vapour pressure of water in torr
+P1=(PT-P2);//vapour pressure of NH3 in torr
+Kh=P1/X1;//Henry's constant for NH3 in torr
+X=5/100;//mol % of solution
+P10=Kh*X;//pressure of NH3 at 5% mol in torr
+printf('P10=%.1f torr',P10)
+P20=P*(1-X);//pressure of water at 5% mol in torr
+printf('\nP20=%.1f torr',P20)
+PT0=(P10+P20);//total pressure for 5% of mol solution in torr
+printf('\nPT0=%.1f torr',PT0)
+
+//There are some errors in the solution given in textbook
+//page 119