blob: 1c4835a59381e09ef4621c9d220e51d94ef58340 (
plain)
1
2
3
4
5
6
7
8
9
|
//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
|