summaryrefslogtreecommitdiff
path: root/3764/CH3/EX3.02/Ex3_02.sce
blob: 9f1b6a0f5712c76c1993ca9b9aaa50734d2d250f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
clc
//

//Variable declaration
G=77*((10**9))                                      // Modulus of rigidity(GPa) 
L=1.5                                                 // length of the shaft(m)
TWIST=2                                               // Allowable twist

//Calculation         
//Case(a)
phy=(2)*((2*(%pi))/(360))                         // Angle of twist(rad)
//Case(b)
J=1.021*((10**-6))                                  // Polar moment of inertia(m**4)
T=(((J*G)/(L))*(phy))/(1000)                          // Torque to be applied to the end of shaft(kN.m)

// Result
printf("\n Maximum torque that can be transmitted by the shaft as designed = %0.3f kN.m' ,T)