blob: 06d14f2817535bca423b634f9f89452c0336669b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//Exam:3.26
clc;
clear;
close;
wavelength=0.58;//in Angstrom
angle=9.5;//in degree
n=1;//First order
d_200=wavelength*n/(2*sind(angle));//interplanar spacing(in Angstrom)
//Miller indices of plane
h=2;
k=0;
l=0;
a=d_200*(h^2+k^2+l^2)^(1/2);//Size of unit cell(in Angstrom)
disp(a,'Size of unit cell(in Angstrom)=');
|