summaryrefslogtreecommitdiff
path: root/3537/CH4
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH4')
-rw-r--r--3537/CH4/EX4.1/Ex4_1.sce10
-rw-r--r--3537/CH4/EX4.1/Ex4_1.txt1
-rw-r--r--3537/CH4/EX4.10/Ex4_10.sce10
-rw-r--r--3537/CH4/EX4.10/Ex4_10.txt1
-rw-r--r--3537/CH4/EX4.11/Ex4_11.sce7
-rw-r--r--3537/CH4/EX4.11/Ex4_11.txt1
-rw-r--r--3537/CH4/EX4.12/Ex4_12.sce16
-rw-r--r--3537/CH4/EX4.12/Ex4_12.txt2
-rw-r--r--3537/CH4/EX4.13/Ex4_13.sce12
-rw-r--r--3537/CH4/EX4.13/Ex4_13.txt1
-rw-r--r--3537/CH4/EX4.14/Ex4_14.sce14
-rw-r--r--3537/CH4/EX4.14/Ex4_14.txt3
-rw-r--r--3537/CH4/EX4.15/Ex4_15.sce11
-rw-r--r--3537/CH4/EX4.15/Ex4_15.txt3
-rw-r--r--3537/CH4/EX4.16/Ex4_16.sce21
-rw-r--r--3537/CH4/EX4.16/Ex4_16.txt4
-rw-r--r--3537/CH4/EX4.17/Ex4_17.sce12
-rw-r--r--3537/CH4/EX4.17/Ex4_17.txt1
-rw-r--r--3537/CH4/EX4.2/Ex4_2.sce10
-rw-r--r--3537/CH4/EX4.2/Ex4_2.txt1
-rw-r--r--3537/CH4/EX4.3/Ex4_3.sce10
-rw-r--r--3537/CH4/EX4.3/Ex4_3.txt1
-rw-r--r--3537/CH4/EX4.4/Ex4_4.sce10
-rw-r--r--3537/CH4/EX4.4/Ex4_4.txt1
-rw-r--r--3537/CH4/EX4.5/Ex4_5.sce10
-rw-r--r--3537/CH4/EX4.5/Ex4_5.txt1
-rw-r--r--3537/CH4/EX4.6/Ex4_6.sce10
-rw-r--r--3537/CH4/EX4.6/Ex4_6.txt1
-rw-r--r--3537/CH4/EX4.7/Ex4_7.sce10
-rw-r--r--3537/CH4/EX4.7/Ex4_7.txt1
-rw-r--r--3537/CH4/EX4.8/Ex4_8.sce10
-rw-r--r--3537/CH4/EX4.8/Ex4_8.txt1
-rw-r--r--3537/CH4/EX4.9/Ex4_9.sce12
-rw-r--r--3537/CH4/EX4.9/Ex4_9.txt1
34 files changed, 220 insertions, 0 deletions
diff --git a/3537/CH4/EX4.1/Ex4_1.sce b/3537/CH4/EX4.1/Ex4_1.sce
new file mode 100644
index 000000000..370b5da5a
--- /dev/null
+++ b/3537/CH4/EX4.1/Ex4_1.sce
@@ -0,0 +1,10 @@
+//Example 4_1
+clc();
+clear;
+//To calculate the density of the germanium
+n=8
+a=5.62*10^-10 //units in meters
+M=710.59 //atomic weight of Ge units in a.m.u
+N=6.02*10^26 //units in kg/mol
+Density=(n*M)/(a^3*N)
+printf("Density of the germanium is %.0f kg/m^3",Density)
diff --git a/3537/CH4/EX4.1/Ex4_1.txt b/3537/CH4/EX4.1/Ex4_1.txt
new file mode 100644
index 000000000..a2cfcff47
--- /dev/null
+++ b/3537/CH4/EX4.1/Ex4_1.txt
@@ -0,0 +1 @@
+ Density of the germanium is 53199 kg/m^3 \ No newline at end of file
diff --git a/3537/CH4/EX4.10/Ex4_10.sce b/3537/CH4/EX4.10/Ex4_10.sce
new file mode 100644
index 000000000..0f517e804
--- /dev/null
+++ b/3537/CH4/EX4.10/Ex4_10.sce
@@ -0,0 +1,10 @@
+//Example 4_10
+clc();
+clear;
+//To calculate the percentage of volume
+r1=1.258 //units in meters
+r2=1.292 //units in meters
+v1=((4*r1)/sqrt(3))^3/2
+v2=(2*sqrt(2)*1.292)^3/4
+v=(v1-v2)/v2*100
+printf("The percentage of volume changed during this structural change is %.3f",v)
diff --git a/3537/CH4/EX4.10/Ex4_10.txt b/3537/CH4/EX4.10/Ex4_10.txt
new file mode 100644
index 000000000..3297d74c7
--- /dev/null
+++ b/3537/CH4/EX4.10/Ex4_10.txt
@@ -0,0 +1 @@
+The percentage of volume changed during this structural change is 0.496 \ No newline at end of file
diff --git a/3537/CH4/EX4.11/Ex4_11.sce b/3537/CH4/EX4.11/Ex4_11.sce
new file mode 100644
index 000000000..7885868b9
--- /dev/null
+++ b/3537/CH4/EX4.11/Ex4_11.sce
@@ -0,0 +1,7 @@
+//Example 4_11
+clc();
+clear;
+//To calculate where the radius of the atom is present
+a=4/sqrt(2)
+R=a/2-1
+printf("The radius of the atom is at R=%.3fr",R)
diff --git a/3537/CH4/EX4.11/Ex4_11.txt b/3537/CH4/EX4.11/Ex4_11.txt
new file mode 100644
index 000000000..be61d42e8
--- /dev/null
+++ b/3537/CH4/EX4.11/Ex4_11.txt
@@ -0,0 +1 @@
+The radius of the atom is at R=0.414r \ No newline at end of file
diff --git a/3537/CH4/EX4.12/Ex4_12.sce b/3537/CH4/EX4.12/Ex4_12.sce
new file mode 100644
index 000000000..f4be54ec2
--- /dev/null
+++ b/3537/CH4/EX4.12/Ex4_12.sce
@@ -0,0 +1,16 @@
+//Example 4_12
+clc();
+clear;
+//To calculate distance betweenadjacent atoms
+molwt=23+35.5 //units in grams/mol
+avagadro=6.023*10^23 //units in gm/mol
+mass=molwt/avagadro //units in gm
+unitvol=2.18 //units in gm/cm^3
+noofmol=unitvol/mass //units in gm/cm^3
+total=2*noofmol //units in gm/cm^3
+printf("number of atoms in NaCl is")
+disp(total)
+printf("atom/cm^3")
+a=(1/total)^(1/3)
+a=a*10^8 //units in A
+printf("\nradius a=%.2f A",a)
diff --git a/3537/CH4/EX4.12/Ex4_12.txt b/3537/CH4/EX4.12/Ex4_12.txt
new file mode 100644
index 000000000..30b1606ee
--- /dev/null
+++ b/3537/CH4/EX4.12/Ex4_12.txt
@@ -0,0 +1,2 @@
+number of atoms in NaCl is 4.489D+22 atom/cm^3
+radius a=2.81 A \ No newline at end of file
diff --git a/3537/CH4/EX4.13/Ex4_13.sce b/3537/CH4/EX4.13/Ex4_13.sce
new file mode 100644
index 000000000..3d3a88d05
--- /dev/null
+++ b/3537/CH4/EX4.13/Ex4_13.sce
@@ -0,0 +1,12 @@
+//Example 4_13
+clc();
+clear;
+//To calculate the glancing angle for the second order diffraction
+lemda=0.071*10^-9 //units in meters
+a=0.28*10^-9 //units in meters
+h=1
+k=1
+l=0
+n=2
+theta=(asin((n*lemda)/(2*(a/(sqrt(h^2+k^2+l^2))))))*180/%pi
+printf("The glancing angle for the second order diffraction is %.2f degrees",theta)
diff --git a/3537/CH4/EX4.13/Ex4_13.txt b/3537/CH4/EX4.13/Ex4_13.txt
new file mode 100644
index 000000000..e7560c278
--- /dev/null
+++ b/3537/CH4/EX4.13/Ex4_13.txt
@@ -0,0 +1 @@
+The glancing angle for the second order diffraction is 21.01 degrees \ No newline at end of file
diff --git a/3537/CH4/EX4.14/Ex4_14.sce b/3537/CH4/EX4.14/Ex4_14.sce
new file mode 100644
index 000000000..2e909d425
--- /dev/null
+++ b/3537/CH4/EX4.14/Ex4_14.sce
@@ -0,0 +1,14 @@
+//Example 4_14
+clc();
+clear;
+//To determine the space of the reflecting plane and the volume of the unit cell
+lemda=3*10^-10 //units in meters
+theta=40 //units in degrees
+h=1
+k=0
+l=0
+n=1
+d=(n*lemda)/(2*sin(theta*%pi/180))*10^10
+printf("The space of the reflecting plane is %.3f angstrom",d)
+v=(d*sqrt(h^2+k^2+l^2)*10^-10)^3
+printf("\n\nThe volume of the unit cell is %.33f m^3",v)
diff --git a/3537/CH4/EX4.14/Ex4_14.txt b/3537/CH4/EX4.14/Ex4_14.txt
new file mode 100644
index 000000000..69ebd7e37
--- /dev/null
+++ b/3537/CH4/EX4.14/Ex4_14.txt
@@ -0,0 +1,3 @@
+The space of the reflecting plane is 2.334 angstrom
+
+The volume of the unit cell is 0.000000000000000000000000000012708 m^3 \ No newline at end of file
diff --git a/3537/CH4/EX4.15/Ex4_15.sce b/3537/CH4/EX4.15/Ex4_15.sce
new file mode 100644
index 000000000..8a632de67
--- /dev/null
+++ b/3537/CH4/EX4.15/Ex4_15.sce
@@ -0,0 +1,11 @@
+//Example 4_15
+clc();
+clear;
+//To find miller indices
+n=1
+lamda=0.82*10^-10 //units in meters
+theta=75.86 //units in degrees
+d=(n*lamda)/(2*sin(theta*%pi/180))
+d=d*10^11
+printf("obtained d value is d=%dA",d)
+printf("\n As rounding of d equal to 3 A that is d=a miller indices that are possible are (0,0,1),(0,1,0),(1,0,0)")
diff --git a/3537/CH4/EX4.15/Ex4_15.txt b/3537/CH4/EX4.15/Ex4_15.txt
new file mode 100644
index 000000000..b798136cf
--- /dev/null
+++ b/3537/CH4/EX4.15/Ex4_15.txt
@@ -0,0 +1,3 @@
+obtained d value is d=4A
+ As rounding of d equal to 3 A that is d=a miller indices that are possible are
+ (0,0,1),(0,1,0),(1,0,0) \ No newline at end of file
diff --git a/3537/CH4/EX4.16/Ex4_16.sce b/3537/CH4/EX4.16/Ex4_16.sce
new file mode 100644
index 000000000..f755680f9
--- /dev/null
+++ b/3537/CH4/EX4.16/Ex4_16.sce
@@ -0,0 +1,21 @@
+//Example 4_16
+clc();
+clear;
+//To find the wavelength and energy of X-ray beam
+theta=27.5 //units in degrees
+n=1
+h=1
+k=1
+l=1
+H=6.625*10^-34 //planks constant
+c=3*10^10 //velocity of light units in meters
+a=5.63*10^-10 //units in meters
+lemda=(2*(a/sqrt(h^2+k^2+l^2))*sin(theta*%pi/180))/n*10^10
+printf("The wavelength of X-Ray beam is %.0f angstrom",lemda)
+lemda=lemda*10^-10 //units in cm
+E=(H*c)/lemda
+E=E*10^20 //units in Joules
+E=E/(1.6*10^-19)
+printf("\n\nThe energy of X-ray beam is ")
+disp(E)
+printf("eV")
diff --git a/3537/CH4/EX4.16/Ex4_16.txt b/3537/CH4/EX4.16/Ex4_16.txt
new file mode 100644
index 000000000..1b82fe3dd
--- /dev/null
+++ b/3537/CH4/EX4.16/Ex4_16.txt
@@ -0,0 +1,4 @@
+The wavelength of X-Ray beam is 3 angstrom
+
+The energy of X-ray beam is
+ 4.138D+25 eV \ No newline at end of file
diff --git a/3537/CH4/EX4.17/Ex4_17.sce b/3537/CH4/EX4.17/Ex4_17.sce
new file mode 100644
index 000000000..c8fa4efc8
--- /dev/null
+++ b/3537/CH4/EX4.17/Ex4_17.sce
@@ -0,0 +1,12 @@
+//Example 4_17
+clc();
+clear;
+//To find the lattice parameter of Lead
+lemda=1.5*10^-10 //units in meters
+theta=34 //units in degrees
+n=1
+h=2
+k=0
+l=2
+a=(n*lemda)/(2*sin(theta))*sqrt(h^2+k^2+l^2)*10^10
+printf("the lattice parameter of the Lead is %.3f angstrom",a)
diff --git a/3537/CH4/EX4.17/Ex4_17.txt b/3537/CH4/EX4.17/Ex4_17.txt
new file mode 100644
index 000000000..c0ef24264
--- /dev/null
+++ b/3537/CH4/EX4.17/Ex4_17.txt
@@ -0,0 +1 @@
+ the lattice parameter of the Lead is 4.009 angstrom \ No newline at end of file
diff --git a/3537/CH4/EX4.2/Ex4_2.sce b/3537/CH4/EX4.2/Ex4_2.sce
new file mode 100644
index 000000000..7ccb83825
--- /dev/null
+++ b/3537/CH4/EX4.2/Ex4_2.sce
@@ -0,0 +1,10 @@
+//Example 4_2
+clc();
+clear;
+//To calculate the lattice constant
+M=55.85 //units in a.m.u
+density=7860 //units in kg/m^3
+n=2
+N=6.02*10^26 //units in kg/mol
+a=((n*M)/(density*N))^(1/3)*10^9
+printf("Lattice constant is %.2f angstrom",a)
diff --git a/3537/CH4/EX4.2/Ex4_2.txt b/3537/CH4/EX4.2/Ex4_2.txt
new file mode 100644
index 000000000..fd93c1b4c
--- /dev/null
+++ b/3537/CH4/EX4.2/Ex4_2.txt
@@ -0,0 +1 @@
+Lattice constant is 0.29 angstrom \ No newline at end of file
diff --git a/3537/CH4/EX4.3/Ex4_3.sce b/3537/CH4/EX4.3/Ex4_3.sce
new file mode 100644
index 000000000..dac6dc603
--- /dev/null
+++ b/3537/CH4/EX4.3/Ex4_3.sce
@@ -0,0 +1,10 @@
+//Example 4_3
+clc();
+clear;
+//To calculate the lattice constant
+M=6.94 //units in a.m.u
+density=530 //units in kg/m^3
+n=2
+N=6.02*10^26 //units in kg/mol
+a=((n*M)/(density*N))^(1/3)*10^10
+printf("Lattice constant is %.2f angstrom",a)
diff --git a/3537/CH4/EX4.3/Ex4_3.txt b/3537/CH4/EX4.3/Ex4_3.txt
new file mode 100644
index 000000000..f83254a44
--- /dev/null
+++ b/3537/CH4/EX4.3/Ex4_3.txt
@@ -0,0 +1 @@
+Lattice constant is 3.52 angstrom \ No newline at end of file
diff --git a/3537/CH4/EX4.4/Ex4_4.sce b/3537/CH4/EX4.4/Ex4_4.sce
new file mode 100644
index 000000000..6f4c4205a
--- /dev/null
+++ b/3537/CH4/EX4.4/Ex4_4.sce
@@ -0,0 +1,10 @@
+//Example 4_4
+clc();
+clear;
+//To calculate the number of atoms per unit cell
+a=2.9*10^-10 //units in meters
+density=7870 //units in kg/m^3
+M=55.85 //units in kg/m^3
+N=6.02*10^26 //units in kg/mol
+n=(a^3*density*N)/M
+printf("number of atoms %.0f",n)
diff --git a/3537/CH4/EX4.4/Ex4_4.txt b/3537/CH4/EX4.4/Ex4_4.txt
new file mode 100644
index 000000000..c2b311bb8
--- /dev/null
+++ b/3537/CH4/EX4.4/Ex4_4.txt
@@ -0,0 +1 @@
+number of atoms 2 \ No newline at end of file
diff --git a/3537/CH4/EX4.5/Ex4_5.sce b/3537/CH4/EX4.5/Ex4_5.sce
new file mode 100644
index 000000000..4dc706bfb
--- /dev/null
+++ b/3537/CH4/EX4.5/Ex4_5.sce
@@ -0,0 +1,10 @@
+//Example 4_5
+clc();
+clear;
+//To calculate the density
+n=8
+a=5.6*10^-10 //units in meters
+M=710.59 //units in a.m.u
+N=6.02*10^26 //units in kg/mol
+Density=(n*M)/(a^3*N)
+printf("Density is %.0f kg/m^3",Density)
diff --git a/3537/CH4/EX4.5/Ex4_5.txt b/3537/CH4/EX4.5/Ex4_5.txt
new file mode 100644
index 000000000..033fbba71
--- /dev/null
+++ b/3537/CH4/EX4.5/Ex4_5.txt
@@ -0,0 +1 @@
+Density is 53771 kg/m^3 \ No newline at end of file
diff --git a/3537/CH4/EX4.6/Ex4_6.sce b/3537/CH4/EX4.6/Ex4_6.sce
new file mode 100644
index 000000000..9f8e15df5
--- /dev/null
+++ b/3537/CH4/EX4.6/Ex4_6.sce
@@ -0,0 +1,10 @@
+//Example 4_6
+clc();
+clear;
+//To calculate the lattice constant
+M=55.85 //units in a.m.u
+density=7860 //units in kg/m^3
+n=2
+N=6.02*10^26 //units in kg/mol
+a=(((n*M)/(density*N))^(1/3))*10^9
+printf("lattice constant is %.3f angstrom",a)
diff --git a/3537/CH4/EX4.6/Ex4_6.txt b/3537/CH4/EX4.6/Ex4_6.txt
new file mode 100644
index 000000000..e9df0c0c7
--- /dev/null
+++ b/3537/CH4/EX4.6/Ex4_6.txt
@@ -0,0 +1 @@
+ lattice constant is 0.287 angstrom \ No newline at end of file
diff --git a/3537/CH4/EX4.7/Ex4_7.sce b/3537/CH4/EX4.7/Ex4_7.sce
new file mode 100644
index 000000000..307cb9deb
--- /dev/null
+++ b/3537/CH4/EX4.7/Ex4_7.sce
@@ -0,0 +1,10 @@
+//Example 4_7
+clc();
+clear;
+//To calculate the lattice constant
+M=6.94 //units in a.m.u
+density=530 //units in kg/m^3
+n=2
+N=6.02*10^26 //units in kg/mol
+a=((n*M)/(density*N))^(1/3)*10^10
+printf("lattice constant is %.3f angstrom",a)
diff --git a/3537/CH4/EX4.7/Ex4_7.txt b/3537/CH4/EX4.7/Ex4_7.txt
new file mode 100644
index 000000000..40afbb50c
--- /dev/null
+++ b/3537/CH4/EX4.7/Ex4_7.txt
@@ -0,0 +1 @@
+lattice constant is 3.517 angstrom \ No newline at end of file
diff --git a/3537/CH4/EX4.8/Ex4_8.sce b/3537/CH4/EX4.8/Ex4_8.sce
new file mode 100644
index 000000000..3dbefdbca
--- /dev/null
+++ b/3537/CH4/EX4.8/Ex4_8.sce
@@ -0,0 +1,10 @@
+//Example 4_8
+clc();
+clear;
+//To calculate the number of atoms per unit cell
+a=2.9*10^-10 //units in meters
+M=55.85 //units in kg/m^3
+density=7870 //units in kg/m^3
+N=6.02*10^26 //units in kg/mol
+n=(a^3*density*N)/M
+printf("number of atoms %.0f",n)
diff --git a/3537/CH4/EX4.8/Ex4_8.txt b/3537/CH4/EX4.8/Ex4_8.txt
new file mode 100644
index 000000000..7428f541a
--- /dev/null
+++ b/3537/CH4/EX4.8/Ex4_8.txt
@@ -0,0 +1 @@
+number of atoms 2 \ No newline at end of file
diff --git a/3537/CH4/EX4.9/Ex4_9.sce b/3537/CH4/EX4.9/Ex4_9.sce
new file mode 100644
index 000000000..d30825bbc
--- /dev/null
+++ b/3537/CH4/EX4.9/Ex4_9.sce
@@ -0,0 +1,12 @@
+//Example 4_9
+clc();
+clear;
+//To calculate the density of copper
+r=0.1278*10^-9 //units in meters
+M=63.5 //units in a.m.u
+N=6.02*10^26 //units in kg/mol
+n=4
+a=sqrt(8)*r
+density=(n*M)/(N*a^3)
+printf("density of copper is %.3f kg/m^3",density)
+//in text book anser printed wrong as 893.66 correct answer is 8933.25
diff --git a/3537/CH4/EX4.9/Ex4_9.txt b/3537/CH4/EX4.9/Ex4_9.txt
new file mode 100644
index 000000000..317210e2d
--- /dev/null
+++ b/3537/CH4/EX4.9/Ex4_9.txt
@@ -0,0 +1 @@
+density of copper is 8933.254 kg/m^3 \ No newline at end of file