blob: a0d9c77d4c0c7667f294216fdf71ee3047ebf318 (
plain)
1
2
3
4
5
6
7
8
9
10
|
//Example 11.10
m_w=8.630-7.800;//Mass of water displaced = apparent loss of mass, (g)
rho_w=1;//Density of water (g/cm^3)
V_w=m_w/rho_w;//Volume of water displaced (cm^3)
V_c=V_w;//Volume of coin = volume of water displaced, (cm^3)
m_c=8.630;//Mass of coin (g)
rho_c=m_c/V_c;//Density of coin (g/cm^3)
printf('Density of the coin = %0.1f g/cm^3',rho_c)
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/latest
|