summaryrefslogtreecommitdiff
path: root/3755/CH2/EX2.16/Ex2_16.sce
blob: ac3be6e8151b8bfc51fa7044819a093681053531 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clear
//
//
//

//Variable declaration    
r=1;     //assume

//Calculations
a=4*r/sqrt(2);      //lattice constant
R=(a/2)-r;           //maximum radius 

//Result"
printf("\n maximum radius is %0.3f r",R)