summaryrefslogtreecommitdiff
path: root/3769/CH5/EX5.17/Ex5_17.sce
blob: 77be5c954c250efc3a18820b4de60fffc37a24dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clear
//Given
m=84                      //g
d=10.5                    //g/cm**3
a=1.6*10**-6

//Calculation
V=m/d
s=V**(1/3.0)
R=a/2.0

//Result
printf("\n Resistance between the opposite faces is  %0.3f  ohm", R)