summaryrefslogtreecommitdiff
path: root/3651/CH2/EX2.4/Ex2_4.sce
blob: 29263b46821e79146a346648bc9455e55e22ed6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

clc



//Variable declaration
h=2
k=2
l=0
a=450

//Calculations
d=a/(sqrt(h**2+k**2+l**2))

//Result
printf('d(220) =%0.3fpm\n',(d))