summaryrefslogtreecommitdiff
path: root/3863/CH7/EX7.1/Ex7_1.sce
blob: 38268b64a721799ae188a3503fe1f9af00218f24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
clear
//Given
//Variable declaration
b=120             //Width of plate in mm
t=20              //Thickness of plate in mm
R=10*10**3        //Radius of curvature in mm
E=2e5             //Youngs modulus in N/sq.mm

//Calculation
I=b*t**3/12                    //Moment of inertia in mm^4
y_max=t/2                      //Maximum distance in mm
sigma_max=int((E/R)*y_max)     //Maximum stress in N/sq.mm
M=((E/R*I)*(10**-6))    //Bending moment in kNm


//Result
printf("\n Maximum stress = %0.3f  N/mm^2",sigma_max)
printf("\n Bending moment = %0.3f  kNm",M)