summaryrefslogtreecommitdiff
path: root/1367/CH5/EX5.9/5_9.sce
blob: c4f47f15497f5360a85c0de9b2984764aa5af648 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Find Glancing angle and lattice parameter
//Ex:5.9
clc;
clear;
close;
a=17.03;//in degrees
w=0.71;//in angstorm
n=1;
d=n*w/(2*sind(a));//interplanar spacing in angstorm
disp(d,"Interplanar Spacing (in angstorm) = ");
// given that h^2+k^2+l^2=8
a=sqrt(8)*d;//in angstorm
disp(a,"Lattice parameter of the crystal (in Angstorm) = ");