summaryrefslogtreecommitdiff
path: root/3764/CH2/EX2.12/Ex2_12.sce
blob: 0a33b2ca2d8b6a3f429b4978624ed8e7dfc3b8e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
clc
//

//Variable declaration
D=60                                                                       // Width(mm) 
d=40                                                                       // Width(mm)
r=8                                                                        // Radius(mm)
K=1.82                                                                     // Stress-concentration factor
Smax=165                                                                   // Allowable normal stress(MPa)

//Calculation
eave=(165/1.82)                                                            // Average stress in the narrower portion(MPa) 
P=((40*10*eave)/(1000))                                             // Largest Axial Load(kN)


// Results
printf("\n Largest Axial Load =%1f in' ,P)