summaryrefslogtreecommitdiff
path: root/3718/CH7/EX7.2/Ex7_2.sce
blob: ae5c51126d25700b801be833c7e453f193572a44 (plain)
1
2
3
4
5
6
7
8
9
10
//Chapter 7: Solid State
//Problem: 2
clc;

//Declaration of Variable
a = 450     //in pm

// Solution
d = a / sqrt(2 ** 2 + 2 ** 2 + 0)
mprintf("Interplanar spacing : %d",d)