summaryrefslogtreecommitdiff
path: root/3369/CH3
diff options
context:
space:
mode:
Diffstat (limited to '3369/CH3')
-rwxr-xr-x3369/CH3/EX3.1/Ex3_1.sce16
-rwxr-xr-x3369/CH3/EX3.10/Ex3_10.sce16
-rwxr-xr-x3369/CH3/EX3.11/Ex3_11.sce11
-rwxr-xr-x3369/CH3/EX3.12/Ex3_12.sce11
-rwxr-xr-x3369/CH3/EX3.14/Ex3_14.sce12
-rw-r--r--3369/CH3/EX3.15/Ex3_15.sce13
-rwxr-xr-x3369/CH3/EX3.17/Ex3_17.sce11
-rwxr-xr-x3369/CH3/EX3.18/Ex3_18.sce17
-rwxr-xr-x3369/CH3/EX3.19/Ex3_19.sce13
-rwxr-xr-x3369/CH3/EX3.2/Ex3_2.sce12
-rwxr-xr-x3369/CH3/EX3.3/Ex3_3.sce17
-rwxr-xr-x3369/CH3/EX3.4/Ex3_4.sce12
-rwxr-xr-x3369/CH3/EX3.5/Ex3_5.sce9
-rwxr-xr-x3369/CH3/EX3.6/Ex3_6.sce12
-rwxr-xr-x3369/CH3/EX3.7/Ex3_7.sce13
-rwxr-xr-x3369/CH3/EX3.8/Ex3_8.sce11
-rwxr-xr-x3369/CH3/EX3.9/Ex3_9.sce14
17 files changed, 220 insertions, 0 deletions
diff --git a/3369/CH3/EX3.1/Ex3_1.sce b/3369/CH3/EX3.1/Ex3_1.sce
new file mode 100755
index 000000000..9ac8a49b8
--- /dev/null
+++ b/3369/CH3/EX3.1/Ex3_1.sce
@@ -0,0 +1,16 @@
+//Chapter 3, Exmaple 1, page 103
+//Movement of oxygen molecule
+clc
+clear
+//using equation 3.3
+R = 3814 // J/Kg.mol.K
+T = 300 // K
+M = 32 // mol^-1
+V2 = 3*R*(T/M)
+V = sqrt(V2)
+printf("Velocity of Oxygen (O2)= %d m^2/s^2\n",V2)
+//Since Oxygen is a diatomic gas
+printf("Velocity of Oxygen (O)= %d m/s",V)
+//Velocity of oxygen is about 300 m/s
+
+//Answer given in the textbook is wrong
diff --git a/3369/CH3/EX3.10/Ex3_10.sce b/3369/CH3/EX3.10/Ex3_10.sce
new file mode 100755
index 000000000..96fbf7aca
--- /dev/null
+++ b/3369/CH3/EX3.10/Ex3_10.sce
@@ -0,0 +1,16 @@
+//Chapter 3, Exmaple 10, page 106
+//KE and velocity of photoelectron
+clc
+clear
+h = 4.15*10**-15
+c = 3*10**8
+l = 200*10**-10
+BE = 13.6 // Binding energy
+PE = h*c/l
+KE = PE-BE // Kinetic energy of photoelectron
+Ve = sqrt((2*KE*1.6*10**-19)/9.11*10**-31)*10**31
+printf("\nPhoton energy eV = %e ",PE)
+printf("\nKinetic energy eV = %e ",KE)
+printf("\nVelocity m/s = %e ",Ve)
+
+//Answer may vary due to round off error
diff --git a/3369/CH3/EX3.11/Ex3_11.sce b/3369/CH3/EX3.11/Ex3_11.sce
new file mode 100755
index 000000000..a4e989765
--- /dev/null
+++ b/3369/CH3/EX3.11/Ex3_11.sce
@@ -0,0 +1,11 @@
+//Chapter 3, Exmaple 11, page 107
+//Find the absorption coefficient
+clc
+clear
+// Using equation 3.20
+x = 20
+I0 = 6
+Mu = -1/x*log(1/I0)
+printf("\nLiquid photon absorption coefficient cm^-1 = %e ",Mu)
+
+//Answer may vary due to round off error
diff --git a/3369/CH3/EX3.12/Ex3_12.sce b/3369/CH3/EX3.12/Ex3_12.sce
new file mode 100755
index 000000000..1e6e0a8fd
--- /dev/null
+++ b/3369/CH3/EX3.12/Ex3_12.sce
@@ -0,0 +1,11 @@
+//Chapter 3, Exmaple 12, page 107
+//Binding energy
+clc
+clear
+h = 4.15*10**-15
+c = 3*10**8
+Imax = 1000*10**-10
+We = h*c/Imax
+printf("\nBinding Energy = %e eV ",We)
+
+//Answer may vary due to round off errorS
diff --git a/3369/CH3/EX3.14/Ex3_14.sce b/3369/CH3/EX3.14/Ex3_14.sce
new file mode 100755
index 000000000..854f67a5e
--- /dev/null
+++ b/3369/CH3/EX3.14/Ex3_14.sce
@@ -0,0 +1,12 @@
+//Chapter 3, Exmaple 14, page 108
+//Diameter of argon atom
+clc
+clear
+//As derived from example 13
+N = (1.01*10**5/760)/(1.38*10**-23*273)
+printf("\nN = %e atoms/m^3 ",N)
+//Use equation 3.10
+ra = sqrt((85*10^2/(%pi*3.527*10**22)))
+printf("\nra = %e m ",ra)
+
+//Answer may vary due to round off error
diff --git a/3369/CH3/EX3.15/Ex3_15.sce b/3369/CH3/EX3.15/Ex3_15.sce
new file mode 100644
index 000000000..6fb064290
--- /dev/null
+++ b/3369/CH3/EX3.15/Ex3_15.sce
@@ -0,0 +1,13 @@
+//Chapter 3, Exmaple 15, page 109
+//Mobility of electrons
+clc
+clear
+Ie = 3
+d = 0.8
+A = 8*10**-4
+Vne = 20*10**17 //V*ne
+e = 1.6*10**-19
+ke = (Ie*d)/(A*Vne*e)
+printf("\Mobility of electrons = %d m^2/s*V ",ke)
+
+//Answer may vary from the text
diff --git a/3369/CH3/EX3.17/Ex3_17.sce b/3369/CH3/EX3.17/Ex3_17.sce
new file mode 100755
index 000000000..fc69b6308
--- /dev/null
+++ b/3369/CH3/EX3.17/Ex3_17.sce
@@ -0,0 +1,11 @@
+//Chapter 3, Exmaple 17, page 110
+//Determine the ion density
+clc
+clear
+//Based on equation 3.50 and 3.52
+nplus = 10**11*%e**(-1.6*10**-19*5*0.02/(1.38*10**-23*293))
+nminus = 10**11*%e**(-1.6*10**-19*5*-0.02/(1.38*10**-23*293)) //textbook uses 0.02 inseatead of -0.02. In the program I have used -0.02
+printf("\n+(0.02) = %e ions/m^3 ",nplus)
+printf("\n+(-0.02) = %e ions/m^3 ",nminus)
+
+//answers may vary due to round off error
diff --git a/3369/CH3/EX3.18/Ex3_18.sce b/3369/CH3/EX3.18/Ex3_18.sce
new file mode 100755
index 000000000..6bcdcaba8
--- /dev/null
+++ b/3369/CH3/EX3.18/Ex3_18.sce
@@ -0,0 +1,17 @@
+//Chapter 3, Exmaple 18, page 110
+//Determine the diameter
+clc
+clear
+//Based on the equation 3.40
+k = 1.38*10**-23
+T = 293
+z2z1 = 0.05
+e = 1.6*10**-19
+E = 250
+r1 = 0.09*10**-6
+r1r2 = (6*k*T*z2z1)/(e*E)
+r2 = sqrt(r1+r1r2)
+printf("\n r1^2-r2^2 = %e ",r1r2)
+printf("\n r2 = %e m ",r2)
+
+//answers may vary due to round off error
diff --git a/3369/CH3/EX3.19/Ex3_19.sce b/3369/CH3/EX3.19/Ex3_19.sce
new file mode 100755
index 000000000..06ffba79d
--- /dev/null
+++ b/3369/CH3/EX3.19/Ex3_19.sce
@@ -0,0 +1,13 @@
+//Chapter 3, Exmaple 19, page 111
+//Determine mean free path and ionization
+clc
+clear
+//(a)Mean free path
+//Based on equation 3.14 and 3.15
+lambda = 1/(9003*0.5)
+//(b)Ionization potential
+Vi = 256584/9003
+printf("\n lambda = %e m ",lambda)
+printf("\n Vi = %f V ",Vi)
+
+//answers may vary due to round off error
diff --git a/3369/CH3/EX3.2/Ex3_2.sce b/3369/CH3/EX3.2/Ex3_2.sce
new file mode 100755
index 000000000..0b4f51c8f
--- /dev/null
+++ b/3369/CH3/EX3.2/Ex3_2.sce
@@ -0,0 +1,12 @@
+//Chapter 3, Exmaple 2, page 104
+//Kinetic energy of oxygen molecule
+clc
+clear
+//from Eq.3.2
+G = (2*10**-3/32)*(8314*298*1.01*10**5)*10**-10
+printf("\nG = %e m^3\n",G) // Answer is is wrong in the text
+//From equation 3.1
+mv2 = 3/2*1.01*10**5 // 1/2*m0*v^2
+KE = mv2*G//total transalational K.E
+printf("K.E = %f J\n",KE)
+//Answer may varry due to round off error
diff --git a/3369/CH3/EX3.3/Ex3_3.sce b/3369/CH3/EX3.3/Ex3_3.sce
new file mode 100755
index 000000000..d182cf325
--- /dev/null
+++ b/3369/CH3/EX3.3/Ex3_3.sce
@@ -0,0 +1,17 @@
+//Chapter 3, Exmaple 3, page 104
+//Maximum pressure in the chamber
+clc
+clear
+//Making use of equation 3.10
+N1 = (4*%pi*1.7*1.7*0.10*10^-10*10^-10)
+N = 1/N1
+//Using equation 3.2
+R = 8314 // J/Kg*mol*K
+M = 28 // Mol^-1
+N = 220*10**-8 // Kg
+T = 300 // K
+p = N/M*R*T
+printf("\nN = %e ",N1) // answer mentioned in the tectbook is wrong
+printf("\nPressure = %f N/m^2",p)
+
+//Answer vary due to round off error
diff --git a/3369/CH3/EX3.4/Ex3_4.sce b/3369/CH3/EX3.4/Ex3_4.sce
new file mode 100755
index 000000000..26f96dbc7
--- /dev/null
+++ b/3369/CH3/EX3.4/Ex3_4.sce
@@ -0,0 +1,12 @@
+//Chapter 3, Exmaple 4, page 105
+//Temperature & Average K.E of He atom
+clc
+clear
+m0 = 1
+v2 = 1.6*10**-19 // V^2
+KE = m0*v2
+//Using equation 3.3
+T = 2*KE/(3*1.38*10**-23)
+printf("\nK.E = %e J",KE)
+printf("\nTemperature = %e K",T)
+
diff --git a/3369/CH3/EX3.5/Ex3_5.sce b/3369/CH3/EX3.5/Ex3_5.sce
new file mode 100755
index 000000000..cc49f0bbe
--- /dev/null
+++ b/3369/CH3/EX3.5/Ex3_5.sce
@@ -0,0 +1,9 @@
+//Chapter 3, Exmaple 5, page 105
+//Volume of Helium
+clc
+clear
+// Using equation 3.2
+G = (1*8314*273)/(2.016*1.01*10**5)
+printf("\nVolume of He = %f m^3",G)
+
+//Answer may vary due to round off error.
diff --git a/3369/CH3/EX3.6/Ex3_6.sce b/3369/CH3/EX3.6/Ex3_6.sce
new file mode 100755
index 000000000..702cde8e4
--- /dev/null
+++ b/3369/CH3/EX3.6/Ex3_6.sce
@@ -0,0 +1,12 @@
+//Chapter 3, Exmaple 6, page 105
+//Determine mean free path
+clc
+clear
+//(a) Mean free path
+na = %e^-1
+//(b) 5 times mean free path
+nb = %e^-5
+printf("\n Mean free path = %f*n0 ",na)
+printf("\n 5 times mean free path = %f*n0 ",nb)
+
+//Answer may vary due to round of error
diff --git a/3369/CH3/EX3.7/Ex3_7.sce b/3369/CH3/EX3.7/Ex3_7.sce
new file mode 100755
index 000000000..b1cb00182
--- /dev/null
+++ b/3369/CH3/EX3.7/Ex3_7.sce
@@ -0,0 +1,13 @@
+//Chapter 3, Exmaple 7, page 105
+//Mean square velocity of Helium
+clc
+clear
+//based on equation 3.2 and 3.3 we derive the gas density
+N = 178*10**-3 // kg/m^3
+// calculating mean square velocity
+v2 = (3*1.01*10**5)/N
+printf("\nV^2 = %e m^2/s^2",v2)
+v = sqrt(v2)
+printf("\nMean square velocity = %f m/s",v)
+
+//Answer may vary due to round off error
diff --git a/3369/CH3/EX3.8/Ex3_8.sce b/3369/CH3/EX3.8/Ex3_8.sce
new file mode 100755
index 000000000..417bd8547
--- /dev/null
+++ b/3369/CH3/EX3.8/Ex3_8.sce
@@ -0,0 +1,11 @@
+//Chapter 3, Exmaple 8, page 106
+//Energy of free electron
+clc
+clear
+//Using equation 3.3
+mv2 = (3/2*1.38*10**-21*293) // 1/2*m*v^2
+E = mv2*10**38/1.6*10**-19
+printf("\n1/2*m*v^2 = %e J",mv2)
+printf("\nEnergy of free electron = %f eV",E)
+
+//Answers may vary due to round off error
diff --git a/3369/CH3/EX3.9/Ex3_9.sce b/3369/CH3/EX3.9/Ex3_9.sce
new file mode 100755
index 000000000..6d23d456f
--- /dev/null
+++ b/3369/CH3/EX3.9/Ex3_9.sce
@@ -0,0 +1,14 @@
+//Chapter 3, Exmaple 9, page 106
+//Average separation and volume occupied by one atom
+clc
+clear
+NA = 6.0244*10**23
+NoA = NA*0.075 // Number of atoms/cm^3
+V = 1/NoA // Average volume occupied by one atom
+S = nthroot(V,3) // Average separation between atoms
+printf("\nNumber od atoms per cm^3 = %e ",NoA)
+printf("\nAverage vloume occupied by one atom = %e cm^3",V)
+printf("\nAverage separation between atoms = %e cm",S)
+
+
+//Answers may vary due to round off error