summaryrefslogtreecommitdiff
path: root/2915/CH4/EX4.14/Ex4_14.sce
blob: bd8fbc5413b7283402a9c5d30be73141a60a1019 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
clc,clear
//Example 4.14
//To find linear and angular speed of a moving object

t=0.5 //time in second
r= 3 //radius in m of the circle
theta = %pi/3 // central angle in radian
w = theta/t //angular speed in rad /sec
v=w*r//linear speed in m/sec

printf('Angular speed= %f radian/sec\n',w)
printf('Linear speed = %f m/sec',v)

printf('\n\n(or)\n\nAngular speed= %f*pi radian/sec\n',w/%pi)
printf('Linear speed = %f*pi m/sec',v/%pi)