//Example 10.11 M=5.979*10^24;//Mass of the Earth (kg) R=6.376*10^6;//Radius of the Earth (m) I=2*M*R^2/5;//Moment of inertia (sphere) (kg.m^2) omega=1;//Angular velocity (rev/day) omega=1*2*%pi/(8.64*10^4);//Angular velocity (rad/s) //There are 8.64*10^4 seconds in a day L=I*omega;//Angular momentum (kg.m^2/s) printf('Angular momentum of the Earth = %0.2e kg.m^2/s',L) //Openstax - College Physics //Download for free at http://cnx.org/content/col11406/latest