summaryrefslogtreecommitdiff
path: root/1427/CH24/EX24.5/24_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '1427/CH24/EX24.5/24_5.sce')
-rw-r--r--1427/CH24/EX24.5/24_5.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1427/CH24/EX24.5/24_5.sce b/1427/CH24/EX24.5/24_5.sce
new file mode 100644
index 000000000..61e9fbf92
--- /dev/null
+++ b/1427/CH24/EX24.5/24_5.sce
@@ -0,0 +1,9 @@
+//ques-24.5
+//Calculating Henrys constant
+clc
+n=2*10^-2/28;//moles of nitrogen
+N=1000/18;//moles of water
+X2=n/(n+N);
+p2=1;//pressure (in atm)
+KH=p2/X2;
+printf("The value of Henrys constant is %d atm.",KH);