diff options
Diffstat (limited to '3755/CH2')
-rw-r--r-- | 3755/CH2/EX2.1/Ex2_1.sce | 19 | ||||
-rw-r--r-- | 3755/CH2/EX2.10/Ex2_10.sce | 25 | ||||
-rw-r--r-- | 3755/CH2/EX2.11/Ex2_11.sce | 16 | ||||
-rw-r--r-- | 3755/CH2/EX2.14/Ex2_14.sce | 19 | ||||
-rw-r--r-- | 3755/CH2/EX2.15/Ex2_15.sce | 14 | ||||
-rw-r--r-- | 3755/CH2/EX2.16/Ex2_16.sce | 14 | ||||
-rw-r--r-- | 3755/CH2/EX2.17/Ex2_17.sce | 20 | ||||
-rw-r--r-- | 3755/CH2/EX2.18/Ex2_18.sce | 19 | ||||
-rw-r--r-- | 3755/CH2/EX2.2/Ex2_2.sce | 17 | ||||
-rw-r--r-- | 3755/CH2/EX2.20/Ex2_20.sce | 20 | ||||
-rw-r--r-- | 3755/CH2/EX2.21/Ex2_21.sce | 22 | ||||
-rw-r--r-- | 3755/CH2/EX2.22/Ex2_22.sce | 16 | ||||
-rw-r--r-- | 3755/CH2/EX2.23/Ex2_23.sce | 18 | ||||
-rw-r--r-- | 3755/CH2/EX2.24/Ex2_24.sce | 16 | ||||
-rw-r--r-- | 3755/CH2/EX2.25/Ex2_25.sce | 17 | ||||
-rw-r--r-- | 3755/CH2/EX2.26/Ex2_26.sce | 18 | ||||
-rw-r--r-- | 3755/CH2/EX2.27/Ex2_27.sce | 17 | ||||
-rw-r--r-- | 3755/CH2/EX2.28/Ex2_28.sce | 18 | ||||
-rw-r--r-- | 3755/CH2/EX2.29/Ex2_29.sce | 16 | ||||
-rw-r--r-- | 3755/CH2/EX2.3/Ex2_3.sce | 17 | ||||
-rw-r--r-- | 3755/CH2/EX2.30/Ex2_30.sce | 14 | ||||
-rw-r--r-- | 3755/CH2/EX2.8/Ex2_8.sce | 24 | ||||
-rw-r--r-- | 3755/CH2/EX2.9/Ex2_9.sce | 27 |
23 files changed, 423 insertions, 0 deletions
diff --git a/3755/CH2/EX2.1/Ex2_1.sce b/3755/CH2/EX2.1/Ex2_1.sce new file mode 100644 index 000000000..4fc3b5080 --- /dev/null +++ b/3755/CH2/EX2.1/Ex2_1.sce @@ -0,0 +1,19 @@ +clear
+//
+//
+//
+
+//Variable declaration
+M=28; //atomic weight of Si
+N=6.023*10^23; //avagadro number
+a=5.3*10^-10; //lattice constant(m)
+n=4;
+
+//Calculations
+V=a^3; //volume(m^3)
+m=M/(N*10^3); //mass(kg)
+rho=n*m/V; //volume density(kg/m^3)
+
+//Result
+printf("\n volume density is %e kg/m^3",rho)
+printf("\n answer in the book is wrong")
diff --git a/3755/CH2/EX2.10/Ex2_10.sce b/3755/CH2/EX2.10/Ex2_10.sce new file mode 100644 index 000000000..f544aff7d --- /dev/null +++ b/3755/CH2/EX2.10/Ex2_10.sce @@ -0,0 +1,25 @@ +clear
+//
+//
+//
+
+//Variable declaration
+h1=0; //intercept on X axis
+k1=1; //intercept on Y axis
+l1=1; //intercept on Z-axis
+h2=1; //intercept on X axis
+k2=0; //intercept on Y axis
+l2=1; //intercept on Z-axis
+h3=1; //intercept on X axis
+k3=1; //intercept on Y axis
+l3=2; //intercept on Z-axis
+
+//Calculations
+d1=h1^2+k1^2+l1^2; //interplanar spacing in 1st plane(angstrom)
+d2=h2^2+k2^2+l2^2; //interplanar spacing in 2nd plane(angstrom)
+d3=h3^2+k3^2+l3^2; //interplanar spacing in 3rd plane(angstrom)
+
+//Result
+printf("\n interplanar spacing in 1st plane is a/sqrt( %0.3f ) angstrom",d1)
+printf("\n interplanar spacing in 2nd plane is a/sqrt( %0.3f ) angstrom",d2)
+printf("\n interplanar spacing in 3rd plane is a/sqrt( %0.3f ) angstrom",d3)
diff --git a/3755/CH2/EX2.11/Ex2_11.sce b/3755/CH2/EX2.11/Ex2_11.sce new file mode 100644 index 000000000..db662d93f --- /dev/null +++ b/3755/CH2/EX2.11/Ex2_11.sce @@ -0,0 +1,16 @@ +clear
+//
+//
+//
+
+//Variable declaration
+a=4.2; //lattice constant(angstrom)
+h=3; //intercept on X axis
+k=2; //intercept on Y axis
+l=1; //intercept on Z-axis
+
+//Calculations
+d=a/sqrt(h^2+k^2+l^2); //interplanar spacing(angstrom)
+
+//Result
+printf("\n interplanar spacing is %0.2f angstrom",d)
diff --git a/3755/CH2/EX2.14/Ex2_14.sce b/3755/CH2/EX2.14/Ex2_14.sce new file mode 100644 index 000000000..c416de667 --- /dev/null +++ b/3755/CH2/EX2.14/Ex2_14.sce @@ -0,0 +1,19 @@ +clear
+//
+//
+//
+
+//Variable declaration
+M=63.5; //atomic weight(gm/mol)
+N=6.023*10^23; //avagadro number
+r=1.278*10^-8; //atomic radius(cm)
+n=4;
+
+//Calculations
+m=M/N; //mass(g)
+a=4*r/sqrt(2); //lattice constant(cm)
+V=a^3; //volume(m^3)
+rho=n*m/V; //density of crystal(g/cm^3)
+
+//Result
+printf("\n density of crystal is %0.3f gm/cm^3",rho)
diff --git a/3755/CH2/EX2.15/Ex2_15.sce b/3755/CH2/EX2.15/Ex2_15.sce new file mode 100644 index 000000000..19a7d5525 --- /dev/null +++ b/3755/CH2/EX2.15/Ex2_15.sce @@ -0,0 +1,14 @@ +clear
+//
+//
+//
+
+//Variable declaration
+r=1; //assume
+
+//Calculations
+a=4*r/sqrt(3); //lattice constant
+R=(a-(2*r))/2; //minimum radius
+
+//Result"
+printf("\n minimum radius is %0.3f r",R)
diff --git a/3755/CH2/EX2.16/Ex2_16.sce b/3755/CH2/EX2.16/Ex2_16.sce new file mode 100644 index 000000000..ac3be6e81 --- /dev/null +++ b/3755/CH2/EX2.16/Ex2_16.sce @@ -0,0 +1,14 @@ +clear
+//
+//
+//
+
+//Variable declaration
+r=1; //assume
+
+//Calculations
+a=4*r/sqrt(2); //lattice constant
+R=(a/2)-r; //maximum radius
+
+//Result"
+printf("\n maximum radius is %0.3f r",R)
diff --git a/3755/CH2/EX2.17/Ex2_17.sce b/3755/CH2/EX2.17/Ex2_17.sce new file mode 100644 index 000000000..15cac2a79 --- /dev/null +++ b/3755/CH2/EX2.17/Ex2_17.sce @@ -0,0 +1,20 @@ +clear
+//
+//
+//
+
+//Variable declaration
+r1=1.258*10^-10; //atomic radius(m)
+r2=1.292*10^-10; //atomic radius(m)
+n1=2;
+n2=4;
+
+//Calculations
+a1=4*r1/sqrt(3); //lattice constant(m)
+V1=a1^3/n1; //volume(m^3)
+a2=2*sqrt(2)*r2; //lattice constant(m)
+V2=a2^3/n2; //volume(m^3)
+V=(V1-V2)*100/V1; //percent volume change
+
+//Result"
+printf("\n percent volume change is %0.1f percentage",V)
diff --git a/3755/CH2/EX2.18/Ex2_18.sce b/3755/CH2/EX2.18/Ex2_18.sce new file mode 100644 index 000000000..0bfb4030b --- /dev/null +++ b/3755/CH2/EX2.18/Ex2_18.sce @@ -0,0 +1,19 @@ +clear
+//
+//
+//
+
+//Variable declaration
+a=0.356*10^-9; //cube edge(m)
+M=12.01; //atomic weight
+N=6.023*10^26; //avagadro number
+
+//Calculations
+n=8/a^3; //number of atoms
+m=M/N; //mass(kg)
+rho=m*n; //density of diamond(kg/m^3)
+
+//Result"
+printf("\n number of atoms is %0.2f *10^29",n/10^29)
+printf("\n density of diamond is %0.1f kg/m^3",rho)
+printf("\n answer in the book is wrong")
diff --git a/3755/CH2/EX2.2/Ex2_2.sce b/3755/CH2/EX2.2/Ex2_2.sce new file mode 100644 index 000000000..607ca7698 --- /dev/null +++ b/3755/CH2/EX2.2/Ex2_2.sce @@ -0,0 +1,17 @@ +clear
+//
+//
+//
+
+//Variable declaration
+M=55.85; //atomic weight
+N=6.023*10^23; //avagadro number
+a=2.9*10^-8; //lattice constant(m)
+rho=7.87; //volume density(gm/cc)
+
+//Calculations
+n=rho*N*a^3/M; //number of atoms per unit cell
+
+//Result
+printf("\n number of atoms per unit cell is %0.3f ",n)
+printf("\n the lattice is BCC")
diff --git a/3755/CH2/EX2.20/Ex2_20.sce b/3755/CH2/EX2.20/Ex2_20.sce new file mode 100644 index 000000000..c47f09be2 --- /dev/null +++ b/3755/CH2/EX2.20/Ex2_20.sce @@ -0,0 +1,20 @@ +clear
+//
+//
+//
+
+//Variable declaration
+a=0.27*10^-9; //lattice constant(m)
+c=0.494*10^-9; //height of cell(m)
+M=65.37; //atomic weight
+N=6.023*10^26; //avagadro number
+n=6; //number of atoms
+
+//Calculations
+V=3*sqrt(3)*a^2*c/2; //volume of unit cell(m^3)
+rho=n*M/(N*V); //density of zinc(kg/m^3)
+
+//Result"
+printf("\n volume of unit cell is %0.3f *10^-29 m^3",V*10^29)
+printf("\n density of zinc is %0.0f kg/m^3",rho)
+printf("\n answer in the book is wrong")
diff --git a/3755/CH2/EX2.21/Ex2_21.sce b/3755/CH2/EX2.21/Ex2_21.sce new file mode 100644 index 000000000..dd20d6a71 --- /dev/null +++ b/3755/CH2/EX2.21/Ex2_21.sce @@ -0,0 +1,22 @@ +clear
+//
+//
+//
+
+//Variable declaration
+a1=5.43*10^-8; //lattice constant(cm)
+M1=28.1; //atomic weight
+N=6.023*10^23; //avagadro number
+n1=8; //number of atoms
+a2=5.65*10^-8; //lattice constant(cm)
+M2=144.6; //atomic weight
+n2=4; //number of atoms
+
+//Calculations
+rho1=n1*M1/(N*a1^3); //density of Si(gm/cm^3)
+rho2=n2*M2/(N*a2^3); //density of GaAs(gm/cm^3)
+
+//Result"
+printf("\n density of Si is %0.2f gm/cm^3",rho1)
+printf("\n density of GaAs is %0.3f gm/cm^3",rho2)
+printf("\n answer in the book varies due to rounding off errors")
diff --git a/3755/CH2/EX2.22/Ex2_22.sce b/3755/CH2/EX2.22/Ex2_22.sce new file mode 100644 index 000000000..c3c7a711a --- /dev/null +++ b/3755/CH2/EX2.22/Ex2_22.sce @@ -0,0 +1,16 @@ +clear
+//
+//
+//
+
+//Variable declaration
+rho=6250; //density(kg/m^3)
+M=60.2; //molecular weight
+N=6.02*10^26; //avagadro number
+n=4; //number of atoms
+
+//Calculations
+a=(n*M/(rho*N))^(1/3); //lattice constant(m)
+
+//Result
+printf("\n lattice constant is %0.0f angstrom",a*10^10)
diff --git a/3755/CH2/EX2.23/Ex2_23.sce b/3755/CH2/EX2.23/Ex2_23.sce new file mode 100644 index 000000000..f609e6bbd --- /dev/null +++ b/3755/CH2/EX2.23/Ex2_23.sce @@ -0,0 +1,18 @@ +clear
+//
+//
+//
+
+//Variable declaration
+r=1.278*10^-8; //atomic radius(cm)
+M=63.54; //molecular weight(g/mol)
+N=6.02*10^23; //avagadro number
+n=4; //number of atoms
+
+//Calculations
+a=4*r/sqrt(2); //lattice constant(cm)
+rho=n*M*10^3/(N*a^3); //density(kg/m^3)
+
+//Result
+printf("\n density of copper is %0.0f kg/m^3",rho)
+printf("\n answer in the book is wrong")
diff --git a/3755/CH2/EX2.24/Ex2_24.sce b/3755/CH2/EX2.24/Ex2_24.sce new file mode 100644 index 000000000..2f0e8e7f7 --- /dev/null +++ b/3755/CH2/EX2.24/Ex2_24.sce @@ -0,0 +1,16 @@ +clear
+//
+//
+//
+
+//Variable declaration
+rho=7870; //density(kg/m^3)
+M=55.8; //molecular weight
+N=6.02*10^26; //avagadro number
+n=2; //number of atoms
+
+//Calculations
+a=(n*M/(rho*N))^(1/3); //lattice constant(m)
+
+//Result
+printf("\n lattice constant is %0.3f angstrom",a*10^10)
diff --git a/3755/CH2/EX2.25/Ex2_25.sce b/3755/CH2/EX2.25/Ex2_25.sce new file mode 100644 index 000000000..9936536ac --- /dev/null +++ b/3755/CH2/EX2.25/Ex2_25.sce @@ -0,0 +1,17 @@ +clear
+//
+//
+//
+
+//Variable declaration
+rho=6.23; //density(gm/cc)
+M=60; //molecular weight
+N=6.023*10^23; //avagadro number
+n=4; //number of atoms
+
+//Calculations
+a=(n*M/(rho*N))^(1/3); //lattice constant(cm)
+r=a*sqrt(2)*10^8/4; //radius of atom(angstrom)
+
+//Result
+printf("\n radius of atom is %0.3f angstrom",r)
diff --git a/3755/CH2/EX2.26/Ex2_26.sce b/3755/CH2/EX2.26/Ex2_26.sce new file mode 100644 index 000000000..fb767b688 --- /dev/null +++ b/3755/CH2/EX2.26/Ex2_26.sce @@ -0,0 +1,18 @@ +clear
+//
+//
+//
+
+//Variable declaration
+rho=2.48; //density(gm/cc)
+M=58; //molecular weight
+N=6.023*10^23; //avagadro number
+n=4; //number of atoms
+
+//Calculations
+a=(n*M/(rho*N))^(1/3); //lattice constant(cm)
+r=a*sqrt(2)*10^8/4; //radius of atom(angstrom)
+d=2*r; //distance between ions(angstrom)
+
+//Result
+printf("\n distance between ions is %0.1f angstrom",d)
diff --git a/3755/CH2/EX2.27/Ex2_27.sce b/3755/CH2/EX2.27/Ex2_27.sce new file mode 100644 index 000000000..8980fa419 --- /dev/null +++ b/3755/CH2/EX2.27/Ex2_27.sce @@ -0,0 +1,17 @@ +clear
+//
+//
+//
+
+//Variable declaration
+rho=8.96; //density(gm/cc)
+M=63.5; //molecular weight
+N=6.02*10^23; //avagadro number
+n=4; //number of atoms
+
+//Calculations
+a=(n*M/(rho*N))^(1/3); //lattice constant(cm)
+d=a/sqrt(2)*10^8; //distance between ions(angstrom)
+
+//Result
+printf("\n distance between ions is %0.2f angstrom",d)
diff --git a/3755/CH2/EX2.28/Ex2_28.sce b/3755/CH2/EX2.28/Ex2_28.sce new file mode 100644 index 000000000..796fa807d --- /dev/null +++ b/3755/CH2/EX2.28/Ex2_28.sce @@ -0,0 +1,18 @@ +clear
+//
+//
+//
+
+//Variable declaration
+rho=5.96; //density(gm/cc)
+M=50; //molecular weight
+N=6.023*10^23; //avagadro number
+n=2; //number of atoms
+
+//Calculations
+a=(n*M/(rho*N))^(1/3); //lattice constant(cm)
+r=a*sqrt(3)/4; //radius of atom(angstrom)
+pf=n*(4/3)*%pi*r^3/a^3; //packing factor
+
+//Result
+printf("\n packing factor is %0.2f ",pf)
diff --git a/3755/CH2/EX2.29/Ex2_29.sce b/3755/CH2/EX2.29/Ex2_29.sce new file mode 100644 index 000000000..0ae2c41e3 --- /dev/null +++ b/3755/CH2/EX2.29/Ex2_29.sce @@ -0,0 +1,16 @@ +clear
+//
+//
+//
+
+//Variable declaration
+a=1; //assume
+n=2; //number of atoms
+
+//Calculations
+r=a*sqrt(3)/4; //radius of atom
+V=4*%pi*r^3/3; //volume
+f=n*V*100/a^3; //packing fraction
+
+//Result
+printf("\n packing fraction is %0.0f percentage",f)
diff --git a/3755/CH2/EX2.3/Ex2_3.sce b/3755/CH2/EX2.3/Ex2_3.sce new file mode 100644 index 000000000..e0cdc605a --- /dev/null +++ b/3755/CH2/EX2.3/Ex2_3.sce @@ -0,0 +1,17 @@ +clear
+//
+//
+//
+
+//Variable declaration
+M=120; //atomic mass
+N=6.023*10^23; //avagadro number
+n=2;
+g=20; //mass(gm)
+
+//Calculations
+u=n*M/N;
+nu=g/u; //number of unit cells
+
+//Result
+printf("\n number of unit cells is %0.3f *10^22",nu/10^22)
diff --git a/3755/CH2/EX2.30/Ex2_30.sce b/3755/CH2/EX2.30/Ex2_30.sce new file mode 100644 index 000000000..38a0c3be8 --- /dev/null +++ b/3755/CH2/EX2.30/Ex2_30.sce @@ -0,0 +1,14 @@ +clear
+//
+//
+//
+
+//Variable declaration
+Vd=3*10^22; //density(gm/cc)
+n=8*(1/8); //number of atoms
+
+//Calculations
+a=(n/Vd)^(1/3); //lattice constant(cm)
+
+//Result
+printf("\n lattice constant is %0.2f angstrom",a*10^8)
diff --git a/3755/CH2/EX2.8/Ex2_8.sce b/3755/CH2/EX2.8/Ex2_8.sce new file mode 100644 index 000000000..178502c63 --- /dev/null +++ b/3755/CH2/EX2.8/Ex2_8.sce @@ -0,0 +1,24 @@ +clear
+//
+//
+//
+
+//Variable declaration
+a=1.2;
+b=1.8;
+c=2.0; //crystal primitives
+x=2;
+y=3;
+z=1; //intercepts
+h=1.2; //intercept on X axis
+
+//Calculations
+h1=a/x;
+k1=b/y;
+l1=c/z;
+k=h*h1/k1; //intercept on Y axis
+l=h*l1/h1; //intercept on Z-axis
+
+//Result
+printf("\n intercept on Y axis is %0.3f angstrom",k)
+printf("\n intercept on Z axis is %0.3f angstrom",l)
diff --git a/3755/CH2/EX2.9/Ex2_9.sce b/3755/CH2/EX2.9/Ex2_9.sce new file mode 100644 index 000000000..32e9bca2c --- /dev/null +++ b/3755/CH2/EX2.9/Ex2_9.sce @@ -0,0 +1,27 @@ +clear
+//
+//
+//
+
+//Variable declaration
+r=1.246; //atomic radius(angstrom)
+h1=2; //intercept on X axis
+k1=0; //intercept on Y axis
+l1=0; //intercept on Z-axis
+h2=2; //intercept on X axis
+k2=2; //intercept on Y axis
+l2=0; //intercept on Z-axis
+h3=1; //intercept on X axis
+k3=1; //intercept on Y axis
+l3=1; //intercept on Z-axis
+
+//Calculations
+a=2*sqrt(2)*r; //lattice constant
+d1=a/sqrt(h1^2+k1^2+l1^2); //interplanar spacing in 1st plane(angstrom)
+d2=a/sqrt(h2^2+k2^2+l2^2); //interplanar spacing in 2nd plane(angstrom)
+d3=a/sqrt(h3^2+k3^2+l3^2); //interplanar spacing in 3rd plane(angstrom)
+
+//Result
+printf("\n interplanar spacing in 1st plane is %0.3f angstrom",d1)
+printf("\n interplanar spacing in 2nd plane is %0.3f angstrom",d2)
+printf("\n interplanar spacing in 3rd plane is %0.4f angstrom",d3)
|