summaryrefslogtreecommitdiff
path: root/3877/CH1/EX1.6/Ex1_6.sce
blob: ca5ec79f0336828afa9bb2dc9128300ea6c84c63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Given
     N = 160 //Speed of driving shaft in rpm
     d = 18//distance between parallel shafts in mm
//calculation
     Omega = (2*%pi*N)/60//angular velocity in rad/s
     v = (Omega*d)/1000//sliding velocity in m/s
//Result
clc
printf('Angular Velocity is %f rad/s \n',Omega)
printf(' The maximum velocity of sliding is %f m/s \n',v)