summaryrefslogtreecommitdiff
path: root/3020/CH13/EX13.2/ex13_2.sce
blob: 2443f2d64e1386f50feb8fcea87ce2af4b355067 (plain)
1
2
3
4
5
6
7
8
clc;
clear all;
h = 4; // Miller indices
k = 3; // Miller indices
l = 0; // Miller indices
a = 2e-10; // In meters
d = a/(sqrt(h^2+k^2+l^2));
disp('m',d,'The interplanar spacing for the plane is ')