summaryrefslogtreecommitdiff
path: root/3665/CH2/EX2.10/Ex2_10.sce
blob: b2854f2489c2da9d0115fa7735c2c7caa5bde56d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clc//
//
//

//Variable declaration
r=1;    //assume

//Calculation
a=4*r/sqrt(2);
R=(a/2)-r;      //radius of interstitial sphere(r)

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