blob: e0d69231b77a45b42800cf79e9813039551415a8 (
plain)
1
2
3
4
5
6
7
|
//Example 11.9
f_sub=0.97;//Fraction submerged
rho_fl=10^3;//Density of fluid (kg/m^3)
rho_person=f_sub*rho_fl;//Density of person (kg/m^3)
printf('Average density of the person = %0.1f kg/m^3',rho_person)
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/latest
|