summaryrefslogtreecommitdiff
path: root/3876/CH6
diff options
context:
space:
mode:
Diffstat (limited to '3876/CH6')
-rw-r--r--3876/CH6/EX6.1/Ex6_1.sce18
-rw-r--r--3876/CH6/EX6.2/Ex6_2.sce22
2 files changed, 40 insertions, 0 deletions
diff --git a/3876/CH6/EX6.1/Ex6_1.sce b/3876/CH6/EX6.1/Ex6_1.sce
new file mode 100644
index 000000000..4d95d2f33
--- /dev/null
+++ b/3876/CH6/EX6.1/Ex6_1.sce
@@ -0,0 +1,18 @@
+//Chapter 6 Solutions of Electrolytes
+
+clc;
+clear;
+
+//Initialisation of Variables
+T= 25 //C
+R= 0.0821 //li-atm per mole per degree
+M= 0.5 //m
+n= 2
+m= 0.680
+V= 1 //lit
+
+//CALCULATIONS
+P= R*(273+T)*M*n*m/V
+
+//RESULTS
+mprintf("Osmotic pressure= %.2f atm",P)
diff --git a/3876/CH6/EX6.2/Ex6_2.sce b/3876/CH6/EX6.2/Ex6_2.sce
new file mode 100644
index 000000000..5ea0eed06
--- /dev/null
+++ b/3876/CH6/EX6.2/Ex6_2.sce
@@ -0,0 +1,22 @@
+//Chapter 6 Solutions of Electrolytes
+
+clc;
+clear;
+
+//Initialisation of Variables
+M= 0.001 //molar
+M1= 0.002 //molar
+M2= 0.004 //molar
+n= 1 //moles
+n1= 2 //moles
+v= 0.509
+
+//CALCULATIONS
+Is= 0.5*(M*n**2+M1*n**2+M1*n1**2+M2*n**2)
+r= 10**(-v*n**2*sqrt(Is))*M
+r1= 10**(-v*n1**2*sqrt(Is))*M1
+
+//RESULTS
+mprintf("Ionic strength= %.3f",Is)
+mprintf("\nActivity of sodium = %.4f molar",r)
+mprintf("\nActivity of barium = %.4f molar",r1)