summaryrefslogtreecommitdiff
path: root/3705/CH5/EX5.4/Ex5_4.sce
blob: 94b9805741a456124e03d28e3ebe2da4b8800fd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12

clear//

//Variable Declaration
M=15000 //Maximum bending moment in absolute values in lb.ft
S=42 //Sectional Modulus in in^3

//Calculations
sigma_max=M*12*S**-1 //Maximum stress in the section in psi

//Result
printf("\n The maximum Bending Stress in the section is %0.0f psi",sigma_max)