blob: 81ad525fe3bd8c9edfe4a30978d03f22a0a0b2a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
clc
//
// Variable declaration
y=7 // Distance(in)
s=-3.01 // Stress(ksi)
// Calculation
//Loading
M=10230 // Couple of moment(kip.in)
//Elastic Unloading
sMl=((10230)*(8))/(1524.0) // Maximum stress(ksi)
//Permanent Radius of Curvature
p=(((7)*(29*(10**6))*((10**-3)))/(3.01)**-2) // Permanent radius of curvature(in)
p=((p*0.083333)) // Conversion(ft)
// Result
printf("\n Case(a) Residual stress = %0.3f ksi' ,sMl)
printf("\n Case(a) Permanent radius of curvature = %0.3f ft' ,p)
|