b=300//width, in mm d=650//effective depth, in mm Ast=942//in sq mm lef=6//in m fck=20//in MPa fy=340//in MPa Xu=round(0.87*fy*Ast/0.36/fck/b)//in mm Xc=0.5*d//in mm //as Xu