blob: 61a60161141bcfc6d9ee7c694c7ed5c64c3fcf0a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
b=300//width, in mm
d=800//effective depth, in mm
Ast=3940//in sq mm
Asc=795//in sq mm
top_cover=40//in mm
fck=15//in MPa
fy=250//in MPa
Xc=0.531*d//in mm
fcc=0.446*fck//in MPa
fsc=0.87*fy//in MPa
Mu=(0.36*fck*b*Xc*(d-0.416*Xc)+(fsc-fcc)*Asc*(d-top_cover))/10^6//in kN-m
mprintf("Moment of resistance of the beam = %f kN-m",Mu)
|