summaryrefslogtreecommitdiff
path: root/1826/CH2/EX2.15/ex2_15.sce
blob: e44b9448173d9a05588672179aa2962c7a88d58a (plain)
1
2
3
4
5
6
7
8
9
// Example 2.15, page no-38
clear
clc
h=2
k=2
l=0
a=4.938*10^-10
d=a/sqrt(h^2+k^2+l^2)
printf("\nThe lattice spacing for (220) plane is %.3f*10^-10 m",d*10^10)