//Example 10.10 m=0.75;//Mass of the cylinder (kg) h=2;//Height of incline (m) R=4*10^-2;//Radius of cylinder (m) g=9.8;//Acceleration due to gravity (m/s) v=sqrt((m*g*h)/[(1/2*m)+(1/2*1/2*m*R^2/R^2)]);//Final velocity, See Equation 10.86 (m/s) printf('Final speed = %0.2f m/s',v) //Openstax - College Physics //Download for free at http://cnx.org/content/col11406/latest