blob: 74d5b7eb1278f2dbab18d4e5379c246e61db2e43 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
//Example 10.6
omega=6.0;//Angular velocity (rpm)
t=2;//Time (min)
r=0.15;//Radius of plate (m)
theta=omega*t;//Revolutions (rev)
theta=theta*2*%pi;//Angle taken through (rad)
x=r*theta;//Distance travelled (m)
printf('Distance travelled by the fly = %0.2f m',x)
//Answer varies due to round off error
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/latest
|