summaryrefslogtreecommitdiff
path: root/3768/CH5
diff options
context:
space:
mode:
Diffstat (limited to '3768/CH5')
-rw-r--r--3768/CH5/EX5.1/Ex5_1.sce14
-rw-r--r--3768/CH5/EX5.10/Ex5_10.sce13
-rw-r--r--3768/CH5/EX5.11/Ex5_11.sce14
-rw-r--r--3768/CH5/EX5.12/Ex5_12.sce21
-rw-r--r--3768/CH5/EX5.2/Ex5_2.sce12
-rw-r--r--3768/CH5/EX5.3/Ex5_3.sce14
-rw-r--r--3768/CH5/EX5.4/Ex5_4.sce18
-rw-r--r--3768/CH5/EX5.5/Ex5_5.sce15
-rw-r--r--3768/CH5/EX5.6/Ex5_6.sce16
-rw-r--r--3768/CH5/EX5.7/Ex5_7.sce21
-rw-r--r--3768/CH5/EX5.8/Ex5_8.sce15
11 files changed, 173 insertions, 0 deletions
diff --git a/3768/CH5/EX5.1/Ex5_1.sce b/3768/CH5/EX5.1/Ex5_1.sce
new file mode 100644
index 000000000..b9b30e1be
--- /dev/null
+++ b/3768/CH5/EX5.1/Ex5_1.sce
@@ -0,0 +1,14 @@
+//Example number 5.1, Page number 85
+
+clc;clear;
+close;
+
+//Variable declaration
+e=1.6*10**-19; //charge(c)
+m=9.1*10**-31; //mass(kg)
+h=6.626*10**-34; //plank constant
+E=2000; //energy(eV)
+//Calculation
+lamda=h/sqrt(2*m*E*e)*10**9; //wavelength(nm)
+//Result
+printf("wavelength is %.4f nm",lamda)
diff --git a/3768/CH5/EX5.10/Ex5_10.sce b/3768/CH5/EX5.10/Ex5_10.sce
new file mode 100644
index 000000000..336480792
--- /dev/null
+++ b/3768/CH5/EX5.10/Ex5_10.sce
@@ -0,0 +1,13 @@
+//Example number 5.10, Page number 88
+
+clc;clear;
+close;
+
+//Variable declaration
+delta_x=10**-8; //length of box(m)
+m=9.1*10**-31; //mass(kg)
+h=6.626*10**-34; //plank constant
+//Calculation
+delta_v=h/(m*delta_x)/10**3; //uncertainity in velocity(km/s)
+//Result
+printf("uncertainity in velocity is %.1f km/s",delta_v)
diff --git a/3768/CH5/EX5.11/Ex5_11.sce b/3768/CH5/EX5.11/Ex5_11.sce
new file mode 100644
index 000000000..58ca4589f
--- /dev/null
+++ b/3768/CH5/EX5.11/Ex5_11.sce
@@ -0,0 +1,14 @@
+//Example number 5.11, Page number 89
+
+clc;clear;
+close;
+
+//Variable declaration
+me=9.1*10**-31; //mass(kg)
+mp=1.6*10**-27; //mass(kg)
+h=6.626*10**-34; //plank constant
+c=3*10**10; //velocity of light(m/s)
+//Calculation
+lamda=h/sqrt(2*mp*me*c**2)*10**10; //de broglie wavelength(m)
+//Result
+printf("de broglie wavelength is %.5e Angstrom",lamda)
diff --git a/3768/CH5/EX5.12/Ex5_12.sce b/3768/CH5/EX5.12/Ex5_12.sce
new file mode 100644
index 000000000..c50f36b6b
--- /dev/null
+++ b/3768/CH5/EX5.12/Ex5_12.sce
@@ -0,0 +1,21 @@
+//Example number 5.12, Page number 89
+
+clc;clear;
+close;
+
+//Variable declaration
+m=1.675*10**-27; //mass(kg)
+h=6.626*10**-34; //plank constant
+E=0.04; //kinetic energy(eV)
+e=1.6*10**-19; //charge(c)
+n=1;
+d110=0.314*10**-9; //spacing(m)
+//Calculation
+E=E*e; //energy(J)
+lamda=h/sqrt(2*m*E);
+theta=asin(n*lamda/(2*d110)); //glancing angle(radian)
+theta=theta*180/%pi; //glancing angle(degrees)
+theta_m=60*(theta-int(theta));
+//Result
+printf("glancing angle is %d degree and %d minutes",theta,theta_m)
+//answer given in the book is wrong
diff --git a/3768/CH5/EX5.2/Ex5_2.sce b/3768/CH5/EX5.2/Ex5_2.sce
new file mode 100644
index 000000000..5a039acdd
--- /dev/null
+++ b/3768/CH5/EX5.2/Ex5_2.sce
@@ -0,0 +1,12 @@
+//Example number 5.2, Page number 85
+
+clc;clear;
+close;
+
+//Variable declaration
+V=1600; //potential energy of electron(V)
+//Calculation
+lamda=12.27/sqrt(V); //wavelength(m)
+//Result
+printf("wavelength is %f Angstrom",lamda)
+//answer given in the book is wrong
diff --git a/3768/CH5/EX5.3/Ex5_3.sce b/3768/CH5/EX5.3/Ex5_3.sce
new file mode 100644
index 000000000..8a4b781ef
--- /dev/null
+++ b/3768/CH5/EX5.3/Ex5_3.sce
@@ -0,0 +1,14 @@
+//Example number 5.3, Page number 85
+
+clc;clear;
+close;
+
+//Variable declaration
+me=9.1*10**-31; //mass(kg)
+h=6.62*10**-34; //plank constant
+mn=1.676*10**-27; //mass(kg)
+c=3*10**8; //velocity of light(m/s)
+//Calculation
+lamda=h*10**10/sqrt(4*mn*me*c**2); //de broglie wavelength(angstrom)
+//Result
+printf("de broglie wavelength is %.1e Angstrom",lamda)
diff --git a/3768/CH5/EX5.4/Ex5_4.sce b/3768/CH5/EX5.4/Ex5_4.sce
new file mode 100644
index 000000000..7ed08dbe9
--- /dev/null
+++ b/3768/CH5/EX5.4/Ex5_4.sce
@@ -0,0 +1,18 @@
+//Example number 5.4, Page number 85
+
+clc;clear;
+close;
+
+//Variable declaration
+a=2*10**-10; //length(m)
+n1=2;
+n2=4;
+m=9.1*10**-31; //mass(kg)
+e=1.6*10**-19; //charge(c)
+h=6.626*10**-34; //plank constant
+//Calculation
+E2=n1**2*h/(8*m*e*a); //energy of second state(eV)
+E4=n2**2*h/(8*m*e*a); //energy of fourth state(eV)
+//Result
+printf("energy of second state is %.5e eV",E2)
+printf("\n energy of second state is %.5e eV",E4)
diff --git a/3768/CH5/EX5.5/Ex5_5.sce b/3768/CH5/EX5.5/Ex5_5.sce
new file mode 100644
index 000000000..7320730a6
--- /dev/null
+++ b/3768/CH5/EX5.5/Ex5_5.sce
@@ -0,0 +1,15 @@
+//Example number 5.5, Page number 86
+
+clc;clear;
+close;
+
+//Variable declaration
+V=344; //accelerated voltage(V)
+n=1;
+theta=60; //glancing angle(degrees)
+//Calculation
+theta=theta*%pi/180; //glancing angle(radian)
+lamda=12.27/sqrt(V);
+d=n*lamda/(2*sin(theta)); //spacing of crystal(angstrom)
+//Result
+printf("spacing of crystal is %.4f Angstrom",d)
diff --git a/3768/CH5/EX5.6/Ex5_6.sce b/3768/CH5/EX5.6/Ex5_6.sce
new file mode 100644
index 000000000..5dd8e9251
--- /dev/null
+++ b/3768/CH5/EX5.6/Ex5_6.sce
@@ -0,0 +1,16 @@
+//Example number 5.6, Page number 86
+
+clc;clear;
+close;
+
+//Variable declaration
+lamda=1.66*10**-10; //wavelength(m)
+m=9.1*10**-32; //mass(kg)
+e=1.6*10**-19; //charge(c)
+h=6.626*10**-34; //plank constant
+//Calculation
+E=h**2/(4*m*e*lamda**2); //kinetic energy(eV)
+v=h/(m*lamda); //velocity(m/s)
+//Result
+printf("kinetic energy is %.2f eV",E)
+printf("\n velocity is %.2e m/s",v)
diff --git a/3768/CH5/EX5.7/Ex5_7.sce b/3768/CH5/EX5.7/Ex5_7.sce
new file mode 100644
index 000000000..c61fc0589
--- /dev/null
+++ b/3768/CH5/EX5.7/Ex5_7.sce
@@ -0,0 +1,21 @@
+//Example number 5.7, Page number 87
+
+clc;clear;
+close;
+
+//Variable declaration
+a=1*10**-10; //length(m)
+n2=2;
+n3=3;
+m=9.1*10**-31; //mass(kg)
+e=1.6*10**-19; //charge(c)
+h=6.626*10**-34; //plank constant
+//Calculation
+E1=h**2/(8*m*e*a**2);
+E2=n2**2*E1; //energy of 1st excited state(eV)
+E3=n3**2*E1; //energy of 2nd excited state(eV)
+//Result
+printf("ground state energy is %.2f eV",E1)
+printf("\n energy of 1st excited state is %.2f eV",E2)
+printf("\n energy of 2nd excited state is %.2f eV",E3)
+//answer in the book varies due to rounding off errors
diff --git a/3768/CH5/EX5.8/Ex5_8.sce b/3768/CH5/EX5.8/Ex5_8.sce
new file mode 100644
index 000000000..344382692
--- /dev/null
+++ b/3768/CH5/EX5.8/Ex5_8.sce
@@ -0,0 +1,15 @@
+//Example number 5.8, Page number 88
+
+clc;clear;
+close;
+
+//Variable declaration
+n=poly([0],'n');
+a=4*10**-10; //width of potential well(m)
+m=9.1*10**-31; //mass(kg)
+e=1.6*10**-19; //charge(c)
+h=6.626*10**-34; //plank constant
+//Calculation
+E1=n**2*h**2/(8*m*e*a**2); //maximum energy(eV)
+//Result
+disp(E1,"maximum energy in eV is")