summaryrefslogtreecommitdiff
path: root/3769/CH25/EX25.6/Ex25_6.sce
blob: 3ca7a0c29c8476ed67c7603f424015295abed962 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clear
//Given
me=55.85
u=1.66*10**-27                 //Kg
R=1.2*10**-15 

//Calculation
//
m=me*u
a=(3*u)/(4.0*%pi*R**3)

//Result
printf("\n Nuclear density is %0.2f *10**17 Kg/m**3",a*10**-17)