summaryrefslogtreecommitdiff
path: root/3845/CH10/EX10.5/Ex10_5.sce
blob: 40969df9ef7a6b62bed23d4257f139578ccc3828 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//Example 10.5
r=0.350;//Radius of wheel (m)
alpha=0.250;//Angular acceleration (rad/s^2)
theta=200;//Revolutions (rev)
theta=theta*2*%pi;//Angle taken through (rad)
x=r*theta;//Distance (m)
printf('a.Distance the train has moved = %0.1f',x)
omega_0=0;//Initial angular velocity (rad/s)
omega=sqrt(omega_0^2+2*alpha*theta)//Final angular velocity (rad/s)
printf('\nb.Final angular velocity of the wheels= %0.1f rad/s',omega)
v=r*omega;//Linear velocity of the train (m/s)
printf('\n  Linear velocity of the train = %0.2f m/s',v)
//Answer varies due to round off error
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/latest