summaryrefslogtreecommitdiff
path: root/3845/CH31/EX31.1/Ex31_1.sce
blob: 43b344cd1b4429bad0484b3d83281ae3584b06b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Example 31.1
r_0=1.2;//(fm)
A=56;//Mass number of nucleus
r=r_0*A^(1/3);//Radius of nucleus (fm)
printf('a.Radius of nucleus = %0.1f fm',r)
m=56;//mass (u)
V=(4/3)*%pi*r^3;//Volume of sphere of radius r
rho=m/V;//Density (u/fm^3)
rho=0.138*(1.66*10^-27)/(10^-15)^3;//Density (kg/m^3), Convert fm to m (1 fm = 10^-15m)
printf('\nb.Approximate density = %0.1e kg/m^3',rho)
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/latest