summaryrefslogtreecommitdiff
path: root/3050/CH6
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3050/CH6
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 '3050/CH6')
-rwxr-xr-x3050/CH6/EX6.1/Ex6_1.sce9
-rwxr-xr-x3050/CH6/EX6.10/Ex6_10.sce9
-rwxr-xr-x3050/CH6/EX6.11/Ex6_11.sce11
-rwxr-xr-x3050/CH6/EX6.12/Ex6_12.sce11
-rwxr-xr-x3050/CH6/EX6.2/Ex6_2.sce8
-rwxr-xr-x3050/CH6/EX6.3/Ex6_3.sce8
-rwxr-xr-x3050/CH6/EX6.4/Ex6_4.sce11
-rwxr-xr-x3050/CH6/EX6.5/Ex6_5.sce11
-rwxr-xr-x3050/CH6/EX6.6/Ex6_6.sce9
-rwxr-xr-x3050/CH6/EX6.7/Ex6_7.sce11
-rwxr-xr-x3050/CH6/EX6.8/Ex6_8.sce9
-rwxr-xr-x3050/CH6/EX6.9/Ex6_9.sce17
12 files changed, 124 insertions, 0 deletions
diff --git a/3050/CH6/EX6.1/Ex6_1.sce b/3050/CH6/EX6.1/Ex6_1.sce
new file mode 100755
index 000000000..e45933dfd
--- /dev/null
+++ b/3050/CH6/EX6.1/Ex6_1.sce
@@ -0,0 +1,9 @@
+//calculating emf
+//Example 6.1
+clc
+clear
+Es=1.5273//emf of known cell in V
+Ns=90//null point of known cell in cm
+Nu=60//null point of unknown cell in cm
+Eu=Nu*Es/Ns//Emf of cell
+printf('Thus the emf of cell = %2.4f V',Eu)
diff --git a/3050/CH6/EX6.10/Ex6_10.sce b/3050/CH6/EX6.10/Ex6_10.sce
new file mode 100755
index 000000000..671c67426
--- /dev/null
+++ b/3050/CH6/EX6.10/Ex6_10.sce
@@ -0,0 +1,9 @@
+//calculating Kc
+//Example 6.10
+clc
+clear
+//E'cell=0.0591*logKc/n
+Ecell=-0.8277
+n=1
+Kc=10^(n*Ecell/0.0591)//equilibrium constant
+printf('Thus the equilibrium constant for the reaction = %e',Kc)
diff --git a/3050/CH6/EX6.11/Ex6_11.sce b/3050/CH6/EX6.11/Ex6_11.sce
new file mode 100755
index 000000000..4e6d69d84
--- /dev/null
+++ b/3050/CH6/EX6.11/Ex6_11.sce
@@ -0,0 +1,11 @@
+//calculating Ecell and energy
+//Example 6.11
+clc
+clear
+Ec=0.4
+Ea=-0.87
+Ecell=Ec-Ea
+F=96500
+Wmax=(2*F*Ecell)/1000
+printf('Thus (i)Ecell = %2.2f V',Ecell)
+printf('\n (ii)Wmax= %3.0f kJ',Wmax)
diff --git a/3050/CH6/EX6.12/Ex6_12.sce b/3050/CH6/EX6.12/Ex6_12.sce
new file mode 100755
index 000000000..8e4483a96
--- /dev/null
+++ b/3050/CH6/EX6.12/Ex6_12.sce
@@ -0,0 +1,11 @@
+//calculating Kc
+//Example 6.12
+clc
+clear
+//E'cell=0.0591*logKc/n
+Ec=0.77
+Ea=0.54
+Ecell=Ec-Ea
+n=2
+Kc=10^(n*Ecell/0.059)//equilibrium constant
+printf('Thus the equilibrium constant for the reaction = %e',Kc)
diff --git a/3050/CH6/EX6.2/Ex6_2.sce b/3050/CH6/EX6.2/Ex6_2.sce
new file mode 100755
index 000000000..a86f4adb8
--- /dev/null
+++ b/3050/CH6/EX6.2/Ex6_2.sce
@@ -0,0 +1,8 @@
+//calculating pH
+//Example 6.2
+clc
+clear
+//for quinhydrone electrode
+Ecell=0.284//Emf of cell in V
+pH=(0.6996-0.2422-Ecell)/0.0591//pH of the solution
+printf('Thus the pH of the solution = %2.3f V',pH)
diff --git a/3050/CH6/EX6.3/Ex6_3.sce b/3050/CH6/EX6.3/Ex6_3.sce
new file mode 100755
index 000000000..fbaeb84e2
--- /dev/null
+++ b/3050/CH6/EX6.3/Ex6_3.sce
@@ -0,0 +1,8 @@
+//calculating pH
+//Example 6.3
+clc
+clear
+//for hydrogen electrode
+Ecell=0.6734//Emf of cell in V
+pH=(Ecell-0.2422)/0.0591//pH of the solution
+printf('Thus the pH of the solution = %2.3f ',pH)
diff --git a/3050/CH6/EX6.4/Ex6_4.sce b/3050/CH6/EX6.4/Ex6_4.sce
new file mode 100755
index 000000000..1208d7929
--- /dev/null
+++ b/3050/CH6/EX6.4/Ex6_4.sce
@@ -0,0 +1,11 @@
+//calculating potential
+//Example 6.4
+clc
+clear
+Ag=1
+Ksp=8.7*(10^-17)
+Agplus=sqrt(Ksp)
+X=Ag/Agplus
+E1=0.799//E(Ag+/Ag)
+E2=E1-(0.0591*log10(X))
+printf('Thus E(Ag+/Ag) = %2.3f V',E2)
diff --git a/3050/CH6/EX6.5/Ex6_5.sce b/3050/CH6/EX6.5/Ex6_5.sce
new file mode 100755
index 000000000..09c433f20
--- /dev/null
+++ b/3050/CH6/EX6.5/Ex6_5.sce
@@ -0,0 +1,11 @@
+//calculating solubility
+//Example 6.5
+clc
+clear
+Ecell=0.169
+AgC=0.01
+C1=AgC/(10^(Ecell/0.0591))
+S=C1*143.5//solubility of AgCl in g/L
+Ksp=C1^2//solubility product of AgCl in Mol^2/L^2
+printf('Thus solubility of AgCl = %e g/L',S)
+printf('\n and Ksp = %e Mol^2/L^2',Ksp)
diff --git a/3050/CH6/EX6.6/Ex6_6.sce b/3050/CH6/EX6.6/Ex6_6.sce
new file mode 100755
index 000000000..33701d1f9
--- /dev/null
+++ b/3050/CH6/EX6.6/Ex6_6.sce
@@ -0,0 +1,9 @@
+//calculating Ksp
+//Example 6.6
+clc
+clear
+Ec=0.071
+Ea=0.799
+Ecell=Ec-Ea
+Ksp=10^(Ecell/0.0591)//solubility product of AgCl in Mol^2/L^2
+printf('Thus Ksp = %e Mol^2/L^2',Ksp)
diff --git a/3050/CH6/EX6.7/Ex6_7.sce b/3050/CH6/EX6.7/Ex6_7.sce
new file mode 100755
index 000000000..125d133f1
--- /dev/null
+++ b/3050/CH6/EX6.7/Ex6_7.sce
@@ -0,0 +1,11 @@
+//calculating Kc
+//Example 6.7
+clc
+clear
+//E'cell=0.0591*logKc/n
+Eag=0.8
+Ecu=0.34
+Ecell=Eag-Ecu
+n=2
+Kc=10^(n*Ecell/0.059)//equilibrium constant
+printf('Thus the equilibrium constant for the reaction = %e',Kc)
diff --git a/3050/CH6/EX6.8/Ex6_8.sce b/3050/CH6/EX6.8/Ex6_8.sce
new file mode 100755
index 000000000..d200a9d05
--- /dev/null
+++ b/3050/CH6/EX6.8/Ex6_8.sce
@@ -0,0 +1,9 @@
+//calculating Kc
+//Example 6.8
+clc
+clear
+//E'cell=0.0591*logKc/n
+Ecell=0.16
+n=4
+Kc=10^(n*Ecell/0.0591)//equilibrium constant
+printf('Thus the equilibrium constant for the reaction = %e',Kc)
diff --git a/3050/CH6/EX6.9/Ex6_9.sce b/3050/CH6/EX6.9/Ex6_9.sce
new file mode 100755
index 000000000..fb2d26b64
--- /dev/null
+++ b/3050/CH6/EX6.9/Ex6_9.sce
@@ -0,0 +1,17 @@
+//calculating deltaG and Kc
+//Example 6.9
+clc
+clear
+Ecell=0.89//in V
+n=6
+F=96500// in 1/mol
+deltaG=-n*F*Ecell//in C.V or J
+//Kc related to deltaG
+R=8.314//in J/molk
+T=298//in K
+Kc1=10^(-deltaG/(2.303*R*T))
+//Kc related to Ecell
+Kc2=10^((n*F*Ecell)/(2.303*R*T))
+printf('Thus (i)deltaG = %e',deltaG)
+printf('\n(ii)Kc in relation with deltaG = %e',Kc1)
+printf('\n(iii)Kc in relation with Ecell = %e',Kc2)