blob: e67b5da8654509fd2bcb040c3570c7b9f71dbb81 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// Example 2.36, page no-52
clear
clc
// Intercepts are in the ratio 3a:4b along X,Y and parallel to Z axis
//x intercept 3,y intercept 4 and z intercept infinity
a=2*10^-10// 2 Angstrom
h=4
k=3
l=0
d=a/sqrt(h^2+k^2+l^2)
printf("The lattice spacing for the plane 430 is %.1f*10^-10 m",d*10^10)
|