diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1652/CH14/EX14.11 | |
download | Scilab-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.11')
-rwxr-xr-x | 1652/CH14/EX14.11/14_11.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/1652/CH14/EX14.11/14_11.sce b/1652/CH14/EX14.11/14_11.sce new file mode 100755 index 000000000..47406d360 --- /dev/null +++ b/1652/CH14/EX14.11/14_11.sce @@ -0,0 +1,19 @@ +clc
+//Initialization of variables
+K=1.754*10^-5 //m
+c=0.1
+//calculations
+disp("Neglecting x w.r.t c,")
+x2=K
+x=sqrt(K)
+mu=x
+disp("From tables 14-5 and 14-6,")
+gH=0.963
+gA=0.960
+x22=K/(gH*gA)
+a=poly(0,"a");
+p=a^2 +a*x22 -c*x22
+z=roots(p)
+alpha=z(2)
+//results
+printf("concentration of H plus ions = %.2e m",alpha)
|