summaryrefslogtreecommitdiff
path: root/3753/CH7/EX7.4/Ex7_4.sce
blob: eeb371fa52c396f42fbfd4b95bf0c4c89cae4a6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//Example number 7.4, Page number 7.15

clc;clear;close

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

// Calculations
d=a/(sqrt(h^2+k^2+l^2)) // in m

// Result
printf("d(220) = %.1f pm",d)