From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1652/CH14/EX14.11/14_11.sce | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 1652/CH14/EX14.11/14_11.sce (limited to '1652/CH14/EX14.11') 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) -- cgit