summaryrefslogtreecommitdiff
path: root/3863/CH4/EX4.19/Ex4_19.sce
blob: 3ce7a930f0af7c670132f0097fe53a39a686605e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
clear
//

//Given
//Variable declaration
W=60*10**3      //Weight in N
V=1             //Velocity in m/s
L=15*10**3      //Free length in mm
A=25*100        //Area in sq.mm
E=2e5           //Youngs modulus in N/sq.mm
g=9.81          //acceleration due to gravity

//Calculation
K_E=((W/g)*(V**2))/2*1e3                  //Kinetic Energy of the cage in N mm
sigma=(sqrt(K_E*E*2/(A*L)))   //Maximum stress in N/sq.mm


//Result
printf("\n Maximum stress produced in the rope = %0.3f  N/mm^2",sigma)