blob: 05e9b7ae8f728c5e647ed7fbdec6b94741c8382b (
plain)
1
2
3
4
5
6
7
8
9
10
|
clear
//Given
dai_bc = 240 //mm- daimeter of '8'bolt circle
dia = dai_bc/8 //Diameter of each bolt
A = 0.25*(dia**2)*3.14 // Area of a bolt
S_allow = 40 //MPa - The maximum allowable allowable shear stress
P_max = (S_allow)*A //N - The maximum allowable force
D = 120.0 //mm - the distance from central axis
T_allow =P_max*D*8 //N-m The allowable torsion on the 8 bolt combination
printf("\n The allowable torsion on the 8 bolt combination %e N-m",T_allow *10**-3)
|