summaryrefslogtreecommitdiff
path: root/1652/CH14/EX14.12/14_12.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1652/CH14/EX14.12/14_12.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 '1652/CH14/EX14.12/14_12.sce')
-rwxr-xr-x1652/CH14/EX14.12/14_12.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/1652/CH14/EX14.12/14_12.sce b/1652/CH14/EX14.12/14_12.sce
new file mode 100755
index 000000000..b3f9d9df6
--- /dev/null
+++ b/1652/CH14/EX14.12/14_12.sce
@@ -0,0 +1,18 @@
+clc
+//Initialization of variables
+disp("From table 14.3")
+K1=-13.5089
+K2=-22.9792
+K3=19.2218
+c=0.1 //m
+//calculations
+logK=K1-K2-K3
+K=10^logK
+mu=0.5*(c*1^2 + c*1^2)
+disp("From tables 14-5 and 14-6,")
+gAg=0.745
+gCl=0.755
+x2=K/(gAg*gCl)
+x=sqrt(x2)
+//results
+printf("Solubility of Agcl = %.2e m",x)