diff options
Diffstat (limited to '3869/CH7')
-rw-r--r-- | 3869/CH7/EX7.1/Ex7_1.sce | 19 | ||||
-rw-r--r-- | 3869/CH7/EX7.10/Ex7_10.sce | 19 | ||||
-rw-r--r-- | 3869/CH7/EX7.11/Ex7_11.sce | 19 | ||||
-rw-r--r-- | 3869/CH7/EX7.12/Ex7_12.sce | 19 | ||||
-rw-r--r-- | 3869/CH7/EX7.13/Ex7_13.sce | 15 | ||||
-rw-r--r-- | 3869/CH7/EX7.14/Ex7_14.sce | 20 | ||||
-rw-r--r-- | 3869/CH7/EX7.15/Ex7_15.sce | 19 | ||||
-rw-r--r-- | 3869/CH7/EX7.17/Ex7_17.sce | 33 | ||||
-rw-r--r-- | 3869/CH7/EX7.18/Ex7_18.sce | 19 | ||||
-rw-r--r-- | 3869/CH7/EX7.19/Ex7_19.sce | 16 | ||||
-rw-r--r-- | 3869/CH7/EX7.2/Ex7_2.sce | 22 | ||||
-rw-r--r-- | 3869/CH7/EX7.3/Ex7_3.sce | 15 | ||||
-rw-r--r-- | 3869/CH7/EX7.4/Ex7_4.sce | 20 | ||||
-rw-r--r-- | 3869/CH7/EX7.5/Ex7_5.sce | 20 | ||||
-rw-r--r-- | 3869/CH7/EX7.6/Ex7_6.sce | 19 | ||||
-rw-r--r-- | 3869/CH7/EX7.7/Ex7_7.sce | 17 | ||||
-rw-r--r-- | 3869/CH7/EX7.8/Ex7_8.sce | 14 | ||||
-rw-r--r-- | 3869/CH7/EX7.9/Ex7_9.sce | 19 |
18 files changed, 344 insertions, 0 deletions
diff --git a/3869/CH7/EX7.1/Ex7_1.sce b/3869/CH7/EX7.1/Ex7_1.sce new file mode 100644 index 000000000..e1f5b9ca0 --- /dev/null +++ b/3869/CH7/EX7.1/Ex7_1.sce @@ -0,0 +1,19 @@ +clear +// +// +// + +//Variable declaration +n=1 //order +theta=32*%pi/180 //glancing angle(radian) +lamda=1.54 //wavelength(angstrom) +h=2 +k=2 +l=0 + +//Calculation +d=n*lamda/(2*sin(theta)) //lattice parameter(angstrom) +a=d*sqrt(h**2+k**2+l**2) //cube edge of unit cell(angstrom) + +//Result +printf("\n cube edge of unit cell is %0.1f angstrom",a) diff --git a/3869/CH7/EX7.10/Ex7_10.sce b/3869/CH7/EX7.10/Ex7_10.sce new file mode 100644 index 000000000..f5c46d8bf --- /dev/null +++ b/3869/CH7/EX7.10/Ex7_10.sce @@ -0,0 +1,19 @@ +clear +// +// +// + +//Variable declaration +h=1 +k=1 +l=0 +lamda=0.065 //wavelength(nm) +n=2 //order +a=0.26 //axial length(nm) + +//Calculation +x=n*lamda*sqrt(h**2+k**2+l**2)/(2*a) +theta=asin(x)*180/%pi //glancing angle(degrees) + +//Result +printf("\n glancing angle is %0.1f degrees",theta) diff --git a/3869/CH7/EX7.11/Ex7_11.sce b/3869/CH7/EX7.11/Ex7_11.sce new file mode 100644 index 000000000..57250e6c2 --- /dev/null +++ b/3869/CH7/EX7.11/Ex7_11.sce @@ -0,0 +1,19 @@ +clear +// +// +// + +//Variable declaration +h=1 +k=1 +l=1 +lamda=1.54 //wavelength(angstrom) +n=1 //order +theta=19.2*%pi/180 //glancing angle(radian) + +//Calculation +d=n*lamda/(2*sin(theta)) +a=d*sqrt(h**2+k**2+l**2) //cube edge of unit cell(angstrom) + +//Result +printf("\n cube edge of unit cell is %0.3f angstrom",a) diff --git a/3869/CH7/EX7.12/Ex7_12.sce b/3869/CH7/EX7.12/Ex7_12.sce new file mode 100644 index 000000000..f9fa25671 --- /dev/null +++ b/3869/CH7/EX7.12/Ex7_12.sce @@ -0,0 +1,19 @@ +clear +// +// +// + +//Variable declaration +lamda=1.54*10**-10 //wavelength(m) +n=1 //order +theta=19.2*%pi/180 //glancing angle(radian) +h=1 +k=1 +l=1 + +//Calculation +d=n*lamda/(2*sin(theta)) +a=d*sqrt(h**2+k**2+l**2) //cube edge of unit cell(m) + +//Result +printf("\n cube edge of unit cell is %0.3f *10**-10 m",a*10**10) diff --git a/3869/CH7/EX7.13/Ex7_13.sce b/3869/CH7/EX7.13/Ex7_13.sce new file mode 100644 index 000000000..73b727976 --- /dev/null +++ b/3869/CH7/EX7.13/Ex7_13.sce @@ -0,0 +1,15 @@ +clear +// +// +// + +//Variable declaration +lamda=0.12 //wavelength(nm) +n=2 //order +theta=28*%pi/180 //glancing angle(radian) + +//Calculation +d=n*lamda/(2*sin(theta)) //interplanar spacing(nm) + +//Result +printf("\n interplanar spacing is %0.2f nm",d) diff --git a/3869/CH7/EX7.14/Ex7_14.sce b/3869/CH7/EX7.14/Ex7_14.sce new file mode 100644 index 000000000..2b5467669 --- /dev/null +++ b/3869/CH7/EX7.14/Ex7_14.sce @@ -0,0 +1,20 @@ +clear +// +// +// + +//Variable declaration +lamda=97 //wavelength(pm) +n1=1 //order +n2=3 //order +theta1=23*%pi/180 //glancing angle(radian) +theta2=60*%pi/180 //glancing angle(radian) + +//Calculation +lamda1=n2*lamda*sin(theta1)/(n1*sin(theta2)) //wavelength(pm) +d=n2*lamda/(2*sin(theta2)) //interplanar spacing(pm) + +//Result +printf("\n wavelength is %0.1f pm",lamda1) +printf("\n interplanar spacing is %0.0f pm",d) +printf("\n answer for wavelength given in the book varies due to rounding off errors") diff --git a/3869/CH7/EX7.15/Ex7_15.sce b/3869/CH7/EX7.15/Ex7_15.sce new file mode 100644 index 000000000..66bb99e34 --- /dev/null +++ b/3869/CH7/EX7.15/Ex7_15.sce @@ -0,0 +1,19 @@ +clear +// +// +// + +//Variable declaration +theta=45*%pi/180 //glancing angle(radian) +d=275 //interplanar spacing(pm) +n1=3 +n2=4 + +//Calculation +lamda=2*d*sin(theta) //wavelength(pm) +lamda1=lamda/n1 //wavelength for n=3 +lamda2=lamda/n2 //wavelength for n=4 + +//Result +printf("\n wavelength for n=3 is %0.0f pm and for n=4 is %0.2f pm",lamda1,lamda2) +printf("\n answer for wavelength for n=4 given in the book varies due to rounding off errors") diff --git a/3869/CH7/EX7.17/Ex7_17.sce b/3869/CH7/EX7.17/Ex7_17.sce new file mode 100644 index 000000000..3e414933f --- /dev/null +++ b/3869/CH7/EX7.17/Ex7_17.sce @@ -0,0 +1,33 @@ +clear +// +// +// + +//Variable declaration +theta1=(30+(0/60))*%pi/180 //glancing angle(radian) +theta2=(35+(17/60))*%pi/180 //glancing angle(radian) +lamda=0.171 //wavelength(nm) +h1=1 +k1=1 +l1=0 +h2=2 +k2=0 +l2=0 +h3=1 +k3=1 +l3=1 + +//Calculation +d100=lamda/(2*sin(theta1)) //wavelength(nm) +d200=lamda/(2*sin(theta2)) //wavelength(nm) +a1=d100*sqrt(h1**2+k1**2+l1**2) +a2=d200*sqrt(h2**2+k2**2+l2**2) //lattice parameter in case of bcc +a3=d100*sqrt(h3**2+k3**2+l3**2) +a4=d200*sqrt(h2**2+k2**2+l2**2) //lattice parameter in case of bcc +d=a3/sqrt(2) //atomic diameter(nm) + +//Result +printf("\n lattice parameter in case of bcc are %0.3f nm and %0.3f nm which are not the same. hence the metal is not bcc",a1,a2) +printf("\n lattice parameter in case of fcc are %0.3f nm and %0.3f nm which are the same. hence the metal is fcc",a3,a4) +printf("\n atomic diameter is %0.5f nm",d) +printf("\n answer for atomic diameter given in the book varies due to rounding off errors") diff --git a/3869/CH7/EX7.18/Ex7_18.sce b/3869/CH7/EX7.18/Ex7_18.sce new file mode 100644 index 000000000..fb13c7c51 --- /dev/null +++ b/3869/CH7/EX7.18/Ex7_18.sce @@ -0,0 +1,19 @@ +clear +// +// +// + +//Variable declaration +d=0.282*10**-9 //lattice spacing(m) +theta=(8+(35/60))*%pi/180 //glancing angle(radian) +maxtheta=90*%pi/180 +n=1 //order + +//Calculation +lamda=2*d*sin(theta)/n //wavelength of x-rays(m) +N=2*d*sin(maxtheta)/lamda //maximum order of diffraction + +//Result +printf("\n wavelength of x-rays is %0.3f angstrom",lamda*10**10) +printf("\n maximum order of diffraction is %0.3f ",N) +printf("\n answer for wavelength of x-rays given in the book is wrong") diff --git a/3869/CH7/EX7.19/Ex7_19.sce b/3869/CH7/EX7.19/Ex7_19.sce new file mode 100644 index 000000000..bf2bde768 --- /dev/null +++ b/3869/CH7/EX7.19/Ex7_19.sce @@ -0,0 +1,16 @@ +clear +// +// +// + +//Variable declaration +d=3.04*10**-10 //lattice spacing(m) +lamda=0.79*10**-10 //wavelength(m) +n=3 //order + +//Calculation +x=n*lamda/(2*d) +theta=asin(x)*180/%pi //glancing angle(degrees) + +//Result +printf("\n glancing angle is %0.3f degrees",theta) diff --git a/3869/CH7/EX7.2/Ex7_2.sce b/3869/CH7/EX7.2/Ex7_2.sce new file mode 100644 index 000000000..04025cc57 --- /dev/null +++ b/3869/CH7/EX7.2/Ex7_2.sce @@ -0,0 +1,22 @@ +clear +// +// +// + +//Variable declaration +lamda=0.58 //wavelength(angstrom) +theta1=6.45*%pi/180 //glancing angle(radian) +theta2=9.15*%pi/180 //glancing angle(radian) +theta3=13*%pi/180 //glancing angle(radian) +n=1 //order + +//Calculation +d1=lamda/(2*sin(theta1)) //interplanar spacing at 1st angle(angstrom) +d2=lamda/(2*sin(theta2)) //interplanar spacing at 2nd angle(angstrom) +d3=lamda/(2*sin(theta3)) //interplanar spacing at 3rd angle(angstrom) + +//Result +printf("\n interplanar spacing at 1st angle is %0.3f angstrom",d1) +printf("\n interplanar spacing at 2nd angle is %0.3f angstrom",d2) +printf("\n interplanar spacing at 3rd angle is %0.3f angstrom",d3) +printf("\n answers given in the book are wrong") diff --git a/3869/CH7/EX7.3/Ex7_3.sce b/3869/CH7/EX7.3/Ex7_3.sce new file mode 100644 index 000000000..3fbdfa483 --- /dev/null +++ b/3869/CH7/EX7.3/Ex7_3.sce @@ -0,0 +1,15 @@ +clear +// +// +// + +//Variable declaration +d=1.181 //lattice spacing(angstrom) +theta=90*%pi/180 //glancing angle(radian) +lamda=1.540 //wavelength of X-rays(angstrom) + +//Calculation +n=2*d*sin(theta)/lamda //order of diffraction + +//Result +printf("\n order of diffraction is %0.3f ",n) diff --git a/3869/CH7/EX7.4/Ex7_4.sce b/3869/CH7/EX7.4/Ex7_4.sce new file mode 100644 index 000000000..8f491652c --- /dev/null +++ b/3869/CH7/EX7.4/Ex7_4.sce @@ -0,0 +1,20 @@ +clear +// +// +// + +//Variable declaration +theta=9.5*%pi/180 //glancing angle(radian) +lamda=0.58 //wavelength of X-rays(angstrom) +n=1 //order +h=2 +k=0 +l=0 + +//Calculation +d=n*lamda/(2*sin(theta)) +a=d*sqrt(h**2+k**2+l**2) //lattice parameter(angstrom) + +//Result +printf("\n lattice parameter is %0.3f angstrom",a) +printf("\n answer given in the book varies due to rounding off errors") diff --git a/3869/CH7/EX7.5/Ex7_5.sce b/3869/CH7/EX7.5/Ex7_5.sce new file mode 100644 index 000000000..325da08f4 --- /dev/null +++ b/3869/CH7/EX7.5/Ex7_5.sce @@ -0,0 +1,20 @@ +clear +// +// +// + +//Variable declaration +theta1=(8+(35/60))*%pi/180 //glancing angle(radian) +lamda=0.842 //wavelength of X-rays(angstrom) +n1=1 //order +n2=3 //order + +//Calculation +x=n2*lamda*sin(theta1)/(n1*lamda) +theta2=asin(x)*180/%pi //glancing angle +theta2d=int(theta2) //glancing angle(degrees) +theta2m=(theta2-theta2d)*60 //glancing angle(minutes) + +//Result +printf("\n glancing angle is %0.3f degrees %0.3f minutes",theta2d,theta2m) +printf("\n answer for glancing angle in minutes given in the book is wrong") diff --git a/3869/CH7/EX7.6/Ex7_6.sce b/3869/CH7/EX7.6/Ex7_6.sce new file mode 100644 index 000000000..31aa00dbe --- /dev/null +++ b/3869/CH7/EX7.6/Ex7_6.sce @@ -0,0 +1,19 @@ +clear +// +// +// + +//Variable declaration +a=3.16 //lattice parameter(angstrom) +theta=20.3*%pi/180 //glancing angle(radian) +lamda=1.54 //wavelength of X-rays(angstrom) +n=1 //order + +//Calculation +d=n*lamda/(2*sin(theta)) //interplanar spacing(angstrom) +x=(a/d)**2 + +//Result +printf("\n interplanar spacing is %0.2f angstrom",d) +printf("\n answer for interplanar spacing given in the book is wrong") +printf("\n value of h**2+k**2+l**2 is %0.0f . hence the miller indices could be (110) (011) or (101)",x) diff --git a/3869/CH7/EX7.7/Ex7_7.sce b/3869/CH7/EX7.7/Ex7_7.sce new file mode 100644 index 000000000..44fa0aea4 --- /dev/null +++ b/3869/CH7/EX7.7/Ex7_7.sce @@ -0,0 +1,17 @@ +clear +// +// +// + +//Variable declaration +d=0.282 //lattice spacing(nm) +theta=(8+(35/60))*%pi/180 //glancing angle(radian) +n=1 //order + +//Calculation +lamda=2*d*sin(theta)/n //wavelength(nm) +N=2*d/lamda //maximum order of diffraction + +//Result +printf("\n wavelength is %0.3f nm",lamda) +printf("\n maximum order of diffraction is %0.3f ",N) diff --git a/3869/CH7/EX7.8/Ex7_8.sce b/3869/CH7/EX7.8/Ex7_8.sce new file mode 100644 index 000000000..29633b67f --- /dev/null +++ b/3869/CH7/EX7.8/Ex7_8.sce @@ -0,0 +1,14 @@ +clear +// +// +// + +//Variable declaration +lamda=1.5 //wavelength(AU) +d=1.6 //lattice spacing(AU) + +//Calculation +n=2*d/lamda //maximum order of diffraction + +//Result +printf("\n maximum order of diffraction is %0.3f ",n) diff --git a/3869/CH7/EX7.9/Ex7_9.sce b/3869/CH7/EX7.9/Ex7_9.sce new file mode 100644 index 000000000..a1e724e88 --- /dev/null +++ b/3869/CH7/EX7.9/Ex7_9.sce @@ -0,0 +1,19 @@ +clear +// +// +// + +//Variable declaration +theta=30*%pi/180 //glancing angle(radian) +h=1 +k=1 +l=1 +lamda=1.5418 //wavelength(angstrom) +n=1 //order + +//Calculation +d=n*lamda/(2*sin(theta)) //interplanar spacing(angstrom) +a=d*sqrt((h**2)+(k**2)+(l**2)) //interatomic spacing(angstrom) + +//Result +printf("\n interatomic spacing is %0.2f angstrom",a) |