summaryrefslogtreecommitdiff
path: root/2192/CH7
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2192/CH7
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 '2192/CH7')
-rwxr-xr-x2192/CH7/EX7.1/7_1.sce13
-rwxr-xr-x2192/CH7/EX7.10/7_10.sce13
-rwxr-xr-x2192/CH7/EX7.11/7_11.sce15
-rwxr-xr-x2192/CH7/EX7.12/7_12.sce17
-rwxr-xr-x2192/CH7/EX7.13/7_13.sce14
-rwxr-xr-x2192/CH7/EX7.14/7_14.sce14
-rwxr-xr-x2192/CH7/EX7.15/7_15.sce21
-rwxr-xr-x2192/CH7/EX7.2/7_2.sce9
-rwxr-xr-x2192/CH7/EX7.3/7_3.sce10
-rwxr-xr-x2192/CH7/EX7.4/7_4.sce19
-rwxr-xr-x2192/CH7/EX7.5/7_5.sce17
-rwxr-xr-x2192/CH7/EX7.6/7_6.sce14
-rwxr-xr-x2192/CH7/EX7.7/7_7.sce17
-rwxr-xr-x2192/CH7/EX7.8/7_8.sce11
-rwxr-xr-x2192/CH7/EX7.9/7_9.sce17
15 files changed, 221 insertions, 0 deletions
diff --git a/2192/CH7/EX7.1/7_1.sce b/2192/CH7/EX7.1/7_1.sce
new file mode 100755
index 000000000..71548e906
--- /dev/null
+++ b/2192/CH7/EX7.1/7_1.sce
@@ -0,0 +1,13 @@
+clc,clear
+printf('Example 7.1\n\n')
+
+Z=0.0003295 //electrochemical equivalent of copper
+I=1 //current strength
+T=100*60 //time in seconds
+W= Z*I*T //weight of nickel deposited
+D=8.9 //density of nickel
+V=W/D //volume of nickel deposited
+A=2.25 //area of plate
+t=V/A //thickness of deposit
+
+printf('Thickness of copper deposited = %.4f cm',t)
diff --git a/2192/CH7/EX7.10/7_10.sce b/2192/CH7/EX7.10/7_10.sce
new file mode 100755
index 000000000..89f3c178a
--- /dev/null
+++ b/2192/CH7/EX7.10/7_10.sce
@@ -0,0 +1,13 @@
+clc,clear
+printf('Example 7.10\n\n')
+
+CE_Cu=32.8; CE_H=1//chemical equivalents
+ECE_H =0.01044*10^-3 //electrochemical equivalents
+ECE_Cu = ECE_H * (CE_Cu/CE_H)
+
+//copper
+T=1*60*60 //time in seconds
+I=40
+m=ECE_Cu *I*T
+
+printf('Weight of deposited copper = %.2f grams',m)
diff --git a/2192/CH7/EX7.11/7_11.sce b/2192/CH7/EX7.11/7_11.sce
new file mode 100755
index 000000000..dd9543d88
--- /dev/null
+++ b/2192/CH7/EX7.11/7_11.sce
@@ -0,0 +1,15 @@
+clc,clear
+printf('Example 7.11\n\n')
+
+ECE_Cu = 0.327*10^-6*3600*1000 //in kg per 1000 Ah
+
+//400 cells, 5000 A , 100 hours per week, 52 weeks
+ampere_hours_per_annum=400*5000*100*52
+
+annual_output = ECE_Cu*ampere_hours_per_annum/(1000*1000) //in tonnes
+printf('Annual output of refined copper = %.0f tonnes',annual_output)
+V=0.25 //voltage per cell
+energy_per_annum=ampere_hours_per_annum*V/1000 //in kWh
+
+energy_consumpt_per_ton=energy_per_annum/ annual_output
+printf('\nEnergy consumption per tonne= %f kWh/tonne',energy_consumpt_per_ton)
diff --git a/2192/CH7/EX7.12/7_12.sce b/2192/CH7/EX7.12/7_12.sce
new file mode 100755
index 000000000..840a24071
--- /dev/null
+++ b/2192/CH7/EX7.12/7_12.sce
@@ -0,0 +1,17 @@
+clc,clear
+printf('Example 7.12\n\n')
+
+//nickel
+m=18.528*10^-3 //weight of nickel
+I=100 //current in amperes
+T=10*60 //time in seconds
+ECE_Ni=m/(I*T) //in kg/C
+
+//copper
+I_Cu=50
+T_Cu=6*60
+CE_Cu=63.18; CE_Ni=58.6;//chemical equivalents
+ECE_Cu= ECE_Ni*((CE_Cu/2)/(CE_Ni/2)) //bothare bivalent
+m_Cu= ECE_Cu * I_Cu*T_Cu
+
+printf('Weight of copper deposited = %f grams',1000*m_Cu)
diff --git a/2192/CH7/EX7.13/7_13.sce b/2192/CH7/EX7.13/7_13.sce
new file mode 100755
index 000000000..574d28f99
--- /dev/null
+++ b/2192/CH7/EX7.13/7_13.sce
@@ -0,0 +1,14 @@
+clc,clear
+printf('Example 7.13\n\n')
+
+CE_Ag=107.98; CE_Al=27/3; //chemical equivalents
+
+//Electrochemical equivalents
+ECE_Ag=0.00111*10^-3 //in kg/C
+ECE_Al=ECE_Ag * (CE_Al/CE_Ag)
+
+current_efficiency=92/100
+I=3000 //average current in A
+t=24*3600 //duration of flow of current in seconds
+m_al=ECE_Al*I*t*current_efficiency
+printf('Mass of aluminium produced = %.3f kg',m_al)
diff --git a/2192/CH7/EX7.14/7_14.sce b/2192/CH7/EX7.14/7_14.sce
new file mode 100755
index 000000000..59eb83792
--- /dev/null
+++ b/2192/CH7/EX7.14/7_14.sce
@@ -0,0 +1,14 @@
+clc,clear
+printf('Example 7.14\n\n')
+
+ECE_Cu=0.3281*10^-6 *3600//in kg/Ah
+
+//500 cells, 6000 A, 40 hours per week, 52 weeks
+ampere_hours_per_annum=500*6000*40*52
+annual_output= ECE_Cu*ampere_hours_per_annum/1000 //in tonnes
+
+V=0.25 //voltage per cell
+energy_consumd_per_annum= ampere_hours_per_annum * V/1000 //in kWh
+energy_consumtn_per_ton=energy_consumd_per_annum/ annual_output
+
+printf('Energy consumption per tonne = %.2f kWh/tonne', energy_consumtn_per_ton)
diff --git a/2192/CH7/EX7.15/7_15.sce b/2192/CH7/EX7.15/7_15.sce
new file mode 100755
index 000000000..9d955642a
--- /dev/null
+++ b/2192/CH7/EX7.15/7_15.sce
@@ -0,0 +1,21 @@
+clc,clear
+printf('Example 7.15\n\n')
+
+diameter_shaft = 14
+length_shaft=30
+Surface_area_shaft =%pi* length_shaft * diameter_shaft
+
+thickness_coating = 1.5/10
+density_Ni= 8.9
+Mass_Ni= Surface_area_shaft * thickness_coating*density_Ni
+
+ECE_Ni=0.000304 //gram/C
+electricity_required= Mass_Ni/ECE_Ni
+printf('Theoritical value of electricity required = %.1f Amp-hour\n',electricity_required/3600)
+
+current_density=200*10^-4 //in A/cm^2
+current= current_density* Surface_area_shaft
+printf('Theoritical value of current required = %.1f A\n',current)
+Time_required= electricity_required / current
+
+printf('Time required = %.0f hours',Time_required/3600)
diff --git a/2192/CH7/EX7.2/7_2.sce b/2192/CH7/EX7.2/7_2.sce
new file mode 100755
index 000000000..1b6be0420
--- /dev/null
+++ b/2192/CH7/EX7.2/7_2.sce
@@ -0,0 +1,9 @@
+clc,clear
+printf('Example 7.2\n\n')
+
+I=10 //strength of current
+T=20*60 //time of flow of current in seconds
+W=13.42 //weight of silver deposited in grams
+Z= W/(I*T) //Electrochemical equivalent of silver
+
+printf('Electrochemical equivalent of silver = %.6f g/coulomb',Z)
diff --git a/2192/CH7/EX7.3/7_3.sce b/2192/CH7/EX7.3/7_3.sce
new file mode 100755
index 000000000..130030b9f
--- /dev/null
+++ b/2192/CH7/EX7.3/7_3.sce
@@ -0,0 +1,10 @@
+clc,clear
+printf('Example 7.3\n\n')
+
+W=5 //weight of copper to be deposited
+Z=0.3294*10^-3 //ECE of copper
+Q=W/Z //quantity of electricity required
+T=1*60*60 //time of deposit
+I=Q/T //steady current required
+
+printf('Required steady current = %.3f A',I)
diff --git a/2192/CH7/EX7.4/7_4.sce b/2192/CH7/EX7.4/7_4.sce
new file mode 100755
index 000000000..66528ad80
--- /dev/null
+++ b/2192/CH7/EX7.4/7_4.sce
@@ -0,0 +1,19 @@
+clc,clear
+printf('Example 7.4')
+
+D=8.6 //density of nickel in gram/cm^3
+Z= 0.000304 //Electrochemical equivalent of silver in gram/coulomb
+I=4.3 //steady current passed in amperes
+
+//Volume=length*breadth*height
+V_initial =5*4*1 //volume before electroplating
+V_final= 5.02*4.02*1.02 //volume after electroplating
+V_nickel=V_final-V_initial //volume of nickel deposited
+
+W= V_nickel * D //weight of nickel deposited
+T = (W/(I*Z))/3600 //Time taken in hours
+
+printf('Time taken for deposition = %.0f seconds\n\n',3600*T)
+printf('=%.0f hours %.0f minutes %.0f seconds',T,(T-1)*60,((T-1)*60 - 4)*60)
+
+printf('\n\nAnswer may not match because of calculation mistake done in seconds to <hours,minute,second> conversion')
diff --git a/2192/CH7/EX7.5/7_5.sce b/2192/CH7/EX7.5/7_5.sce
new file mode 100755
index 000000000..62df85bdb
--- /dev/null
+++ b/2192/CH7/EX7.5/7_5.sce
@@ -0,0 +1,17 @@
+clc,clear
+printf('Example 7.5\n\n')
+
+D= 8.9 //density of nickel
+A=200 //area of plate
+thickness=0.2/10 //thicknes of coating
+V=200*thickness //volume of material to be plated
+W= V* D //weight of material to be deposited
+Z= 0.0003043 //Electrochemical equivalent of nickel
+Q = W / (Z*90/100) //Q is quantity of electricity
+printf('Quantity of electricity = %.1f A-hr\n',Q/3600)
+
+current_density = 190*10^-4 //current density in A/ cm^2
+current = current_density *A
+T=Q /current //time taken
+printf('Time taken = %f seconds\n',T)
+printf('or <%d hours,%d minutes,%d seconds>',T/3600,60*((T/3600)- floor(T/3600) ) , 60*((60*((T/3600)- floor(T/3600) ) )-floor(60*((T/3600)- floor(T/3600) ) )))
diff --git a/2192/CH7/EX7.6/7_6.sce b/2192/CH7/EX7.6/7_6.sce
new file mode 100755
index 000000000..f855bb65c
--- /dev/null
+++ b/2192/CH7/EX7.6/7_6.sce
@@ -0,0 +1,14 @@
+clc,clear
+printf('Example 7.6\n\n')
+
+m=32 //mass of deposit
+Q=96500 //quantity of electricity
+Z=m/Q //electrochemical equivalent
+
+m1=20*10^-3
+Q1= m1* (Q/m)
+
+I=0.15 //steady current
+T=Q1/I//time taken to deposit 20 milli-gram
+printf('Time taken = %f seconds\n',T)
+printf('or <%d hours,%d minutes,%d seconds>',T/3600,60*((T/3600)- floor(T/3600) ) , 60*((60*((T/3600)- floor(T/3600) ) )-floor(60*((T/3600)- floor(T/3600) ) )))
diff --git a/2192/CH7/EX7.7/7_7.sce b/2192/CH7/EX7.7/7_7.sce
new file mode 100755
index 000000000..46638b15a
--- /dev/null
+++ b/2192/CH7/EX7.7/7_7.sce
@@ -0,0 +1,17 @@
+clc,clear
+printf('Example 7.7\n\n')
+
+
+SA_cylinder=%pi*(20/100)*(30/100) //total surface are of cylinder
+thickness=1 //thickness of nickel coating
+Volume = SA_cylinder *thickness
+Density = 8.9//density of Nickel
+Mass= Density * Volume
+
+Z=0.000304 //electrochemical equivalent of nickel
+T=2*60*60 //rime in seconds
+I = Mass/(Z*T) //current
+
+volts=10
+Energy=volts*I*T /(1000*3600) //energy consumed in 2 hours
+printf('Electrical energy used = %f kWh',Energy)
diff --git a/2192/CH7/EX7.8/7_8.sce b/2192/CH7/EX7.8/7_8.sce
new file mode 100755
index 000000000..6268cd623
--- /dev/null
+++ b/2192/CH7/EX7.8/7_8.sce
@@ -0,0 +1,11 @@
+clc,clear
+printf('Example 7.8\n\n')
+
+m=0.322 //mass of deposit in grams
+T=10*60 //time in seconds
+Z=1.118*10^-3 //Electrochemical equivalent
+
+I=m/(T*Z)
+ammeter_reading=0.60
+ammeter_error= ammeter_reading - I
+printf('Ammeter error = %.2f A',ammeter_error)
diff --git a/2192/CH7/EX7.9/7_9.sce b/2192/CH7/EX7.9/7_9.sce
new file mode 100755
index 000000000..558fd896f
--- /dev/null
+++ b/2192/CH7/EX7.9/7_9.sce
@@ -0,0 +1,17 @@
+clc,clear
+printf('Example 7.9\n\n')
+
+SA_plate= 2.54^2
+thickness= 0.05 //thickness of deposit
+density=9 //density of nickel
+W=SA_plate*thickness*density //masss of deposit
+
+CE_Ni=59; CE_Ag=108; //chemical equivalents
+ECE_Ag=0.001118 //electrochemical equivalents
+ECE_Ni = ECE_Ag*((CE_Ni/2)/CE_Ag) //valancy of Ni is 2
+
+I=20
+T=W/(ECE_Ni*I)
+printf('Time taken for deposition = %.0f seconds\n',T)
+printf('or <%d hours,%d minutes,%d seconds>',T/3600,60*((T/3600)- floor(T/3600) ) , 60*((60*((T/3600)- floor(T/3600) ) )-floor(60*((T/3600)- floor(T/3600) ) )))
+