blob: f8f4ebb92fe33b413cba96354f4784efbabd728e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
//To find speeds of shafts
clc
//Given:
alpha=20 //degrees
NA=500 //rpm
//Solution:
//Calculating the maximum speed of the intermediate shaft
NBmax=NA/cosd(alpha) //rpm
//Calculating the minimum speed of the intermediate shaft
NBmin=NA*cosd(alpha) //rpm
//Calculating the maximum speed of the driven shaft
NCmax=NBmax/cosd(alpha) //rpm
//Calculating the minimum speed of the driven shaft
NCmin=NBmin*cosd(alpha) //rpm
//Results:
printf("\n\n Maximum speed of the intermediate shaft, NB(max) = %.1f rad/s.\n",NBmax)
printf(" Minimum speed of the intermediate shaft, NB(min) = %.2f rad/s.\n",NBmin)
printf(" Maximum speed of the driven shaft, NC(max) = %.2f rad/s.\n",NCmax)
printf(" Minimum speed of the driven shaft, NC(min) = %.1f rad/s.\n",NCmin)
|