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.1/14_1.sce | 9 +++++++++ 1652/CH14/EX14.10/14_10.sce | 19 +++++++++++++++++++ 1652/CH14/EX14.11/14_11.sce | 19 +++++++++++++++++++ 1652/CH14/EX14.12/14_12.sce | 18 ++++++++++++++++++ 1652/CH14/EX14.13/14_13.sce | 16 ++++++++++++++++ 1652/CH14/EX14.2/14_2.sce | 9 +++++++++ 1652/CH14/EX14.3/14_3.sce | 9 +++++++++ 1652/CH14/EX14.4/14_4.sce | 11 +++++++++++ 1652/CH14/EX14.5/14_5.sce | 12 ++++++++++++ 1652/CH14/EX14.6/14_6.sce | 12 ++++++++++++ 1652/CH14/EX14.7/14_7.sce | 32 ++++++++++++++++++++++++++++++++ 1652/CH14/EX14.8/14_8.sce | 22 ++++++++++++++++++++++ 1652/CH14/EX14.9/14_9.sce | 17 +++++++++++++++++ 13 files changed, 205 insertions(+) create mode 100755 1652/CH14/EX14.1/14_1.sce create mode 100755 1652/CH14/EX14.10/14_10.sce create mode 100755 1652/CH14/EX14.11/14_11.sce create mode 100755 1652/CH14/EX14.12/14_12.sce create mode 100755 1652/CH14/EX14.13/14_13.sce create mode 100755 1652/CH14/EX14.2/14_2.sce create mode 100755 1652/CH14/EX14.3/14_3.sce create mode 100755 1652/CH14/EX14.4/14_4.sce create mode 100755 1652/CH14/EX14.5/14_5.sce create mode 100755 1652/CH14/EX14.6/14_6.sce create mode 100755 1652/CH14/EX14.7/14_7.sce create mode 100755 1652/CH14/EX14.8/14_8.sce create mode 100755 1652/CH14/EX14.9/14_9.sce (limited to '1652/CH14') diff --git a/1652/CH14/EX14.1/14_1.sce b/1652/CH14/EX14.1/14_1.sce new file mode 100755 index 000000000..8cfdfdff6 --- /dev/null +++ b/1652/CH14/EX14.1/14_1.sce @@ -0,0 +1,9 @@ +clc +//Initialization of variables +x1=0.0200 +Kx=812 +//calculations +disp("Neglecting 2x in comparision with x1,") +x=x1/Kx +//results +printf("Moles of Iodine present = %.2e mole",x) diff --git a/1652/CH14/EX14.10/14_10.sce b/1652/CH14/EX14.10/14_10.sce new file mode 100755 index 000000000..b6641529b --- /dev/null +++ b/1652/CH14/EX14.10/14_10.sce @@ -0,0 +1,19 @@ +clc +//Initialization of variables +m1=0.1 //m +m2=0.1 //m +K=1.754*10^-5 //m +//calculations +mu=0.5*(m1*1^2 + m2*1^2) +disp("From table 14.5,") +aH=9 //A +aA=4.5 //A +disp("From table 14.6") +gH=0.825 +gA=0.775 +gHA=1 +x1=gHA*K/(gH*gA) +disp("Assuming x to be small w.r.t m1,") +x=sqrt(x1*m1) +//results +printf("Concentration of H plus ions = %.2e m",x) 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) 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) diff --git a/1652/CH14/EX14.13/14_13.sce b/1652/CH14/EX14.13/14_13.sce new file mode 100755 index 000000000..fc792b33e --- /dev/null +++ b/1652/CH14/EX14.13/14_13.sce @@ -0,0 +1,16 @@ +clc +//Initialization of variables +Cna=0.11 +Ccl=0.1 +//calculations +x=poly(0,"x"); +p=99*x^2 - 2.1*x+Cna*Ccl +z=roots(p) +alpha=z(2) +Na1=Cna-10*alpha +Cl1=Ccl-10*alpha +//results +printf(" Concentration of Na in 1 = %.4f M",Na1) +printf("\n Concentration of Cl in 1 = %.4f M",Cl1) +printf("\n Concentration of Na in 2 = %.4f M",alpha) +printf("\n Concentration of Cl in 2 = %.4f M",alpha) diff --git a/1652/CH14/EX14.2/14_2.sce b/1652/CH14/EX14.2/14_2.sce new file mode 100755 index 000000000..9da48f51a --- /dev/null +++ b/1652/CH14/EX14.2/14_2.sce @@ -0,0 +1,9 @@ +clc +//Initialization of variables +Kc=1.749*10^-5 //M +n1=0.1 //mole +n2=0.01 //mole +//calculations +c=n1/n2 *Kc +//results +printf("Concentration of Hplus ions = %.1e M",c) diff --git a/1652/CH14/EX14.3/14_3.sce b/1652/CH14/EX14.3/14_3.sce new file mode 100755 index 000000000..418a1400c --- /dev/null +++ b/1652/CH14/EX14.3/14_3.sce @@ -0,0 +1,9 @@ +clc +//Initialization of variables +c=0.01 //M +kc=1.749*10^-5 //M +//calculations +x2=c*kc +x=sqrt(x2) +//results +printf("Concentraton of Hplus ions = %.1e M",x) diff --git a/1652/CH14/EX14.4/14_4.sce b/1652/CH14/EX14.4/14_4.sce new file mode 100755 index 000000000..38401cdfd --- /dev/null +++ b/1652/CH14/EX14.4/14_4.sce @@ -0,0 +1,11 @@ +clc +//Initialization of variables +K2=1.0008*10^-14 //m^2 +K1=1.754*10^-5 //m +c=0.1 +//calculations +disp("Neglecting x w.r.t c,") +x2=c*K2/K1 +x=sqrt(x2) +//results +printf("Concentration of OH minus ions = %.1e m",x) diff --git a/1652/CH14/EX14.5/14_5.sce b/1652/CH14/EX14.5/14_5.sce new file mode 100755 index 000000000..04fd4a7d7 --- /dev/null +++ b/1652/CH14/EX14.5/14_5.sce @@ -0,0 +1,12 @@ +clc +//Initialization of variables +disp("from table 14.1,") +r1=7.47*10^-5 //m +r2=4.57*10^-3 //m +mp=1.008*10^-14 //m^2 +//calculations +r3=r2/r1 +mH2=r3*mp +mH=sqrt(mH2) +//results +printf("Concentraton of Hplus ions = %.2e M",mH) diff --git a/1652/CH14/EX14.6/14_6.sce b/1652/CH14/EX14.6/14_6.sce new file mode 100755 index 000000000..b1af37d42 --- /dev/null +++ b/1652/CH14/EX14.6/14_6.sce @@ -0,0 +1,12 @@ +clc +//Initialization of variables +disp("from table 14.1,") +r1=1.75*10^-5 //m +r2=1.772*10^-4 //m +mp=1.008*10^-14 //m^2 +//calculations +r3=r2/r1 +mH2=r3*mp +mH=sqrt(mH2) +//results +printf("Concentraton of Hplus ions = %.1e M",mH) diff --git a/1652/CH14/EX14.7/14_7.sce b/1652/CH14/EX14.7/14_7.sce new file mode 100755 index 000000000..220b10f3c --- /dev/null +++ b/1652/CH14/EX14.7/14_7.sce @@ -0,0 +1,32 @@ +clc +//Initialization of variables +c=1*10^-6 //m +K=1.754*10^-5 //m +Kp=1.008*10^-14 //m^2 +//calculations +mH=c +//Iteration 1 +mOH=Kp/mH +mA=mH-mOH +mHA=mH*mA/K +mH2=mH-mHA+mOH +//Iteration 2 +mOH2=Kp/mH2 +mA2=mH2-mOH2 +mHA2=mH2*mA2/K +mH3=mH2-mHA2+mOH2 +//From x2 +x2=sqrt(Kp) +x1=c +mOH3=Kp/x2 +y2=x1 +//From x1 +mOH4=Kp/c +mA4=mH-mOH4 +mHA4=mH*mA4/K +y1=c-mHA4-mA4 +//upon further iterations, we get +mHplus=mH3 +//results +printf("Concentration of H plus ions = %.2e m",mHplus) +//The answer is a bit different due to rounding off error. diff --git a/1652/CH14/EX14.8/14_8.sce b/1652/CH14/EX14.8/14_8.sce new file mode 100755 index 000000000..244984d5d --- /dev/null +++ b/1652/CH14/EX14.8/14_8.sce @@ -0,0 +1,22 @@ +clc +//Initialization of variableH +disp("From table 14-3,") +HH=0 +HHcoo=-98 +HHcooh=-98 +SH=0 +SHcoo=21.9 +SHcooh=39.1 +KH=0 +KHcoo=58.64 +KHcooh=62.38 +//calculationH +dH=HH+HHcoo-HHcooh +dS=SH+SHcoo-SHcooh +dK=KH+KHcoo-KHcooh +K=10^dK +//results +printf(" dS0 = %.1f eu",dS) +printf("\n dH0 = %.1f kcal",dH) +printf("\n log Krm = %.2f ",dK) +printf("\n Krm = %.1e m",K) diff --git a/1652/CH14/EX14.9/14_9.sce b/1652/CH14/EX14.9/14_9.sce new file mode 100755 index 000000000..0551848cb --- /dev/null +++ b/1652/CH14/EX14.9/14_9.sce @@ -0,0 +1,17 @@ +clc +//Initialization of variables +mca=0.01 //m +mcl=0.02 //m +//calculations +Mu=0.5*(mca*4 + mcl*1) +disp("From table 14-5,") +aca=6 //A +acl=3 //A +disp("From table 14-6,") +gaca=0.555 +gacl=0.843 +Aca=gaca*mca +Acl=gacl*mcl +//results +printf("Activity of cl = %.4f ",Acl) +printf("\n Activity of ca = %.4f ",Aca) -- cgit