summaryrefslogtreecommitdiff
path: root/1394/CH6/EX6.1.5/Ex6_1_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '1394/CH6/EX6.1.5/Ex6_1_5.sce')
-rwxr-xr-x1394/CH6/EX6.1.5/Ex6_1_5.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1394/CH6/EX6.1.5/Ex6_1_5.sce b/1394/CH6/EX6.1.5/Ex6_1_5.sce
new file mode 100755
index 000000000..e1bf0940e
--- /dev/null
+++ b/1394/CH6/EX6.1.5/Ex6_1_5.sce
@@ -0,0 +1,11 @@
+
+ clc
+//Initialization of variables
+zCa = 2
+zCl = 1
+DCl = 2.03*10^-5 // cm^2/sec
+DCa = 0.79*10^-5 // cm^2/sec
+//Calculations
+DCaCl2 = ((zCa+zCl)/((zCa/DCl)+(zCl/DCa)))*10^5// x*10^-5 cm^2/sec
+//Results
+printf("The diffusion coefficient of CaCl2 is %.2f x10^-5 cm^2/sec",DCaCl2)