# rr : Radius of circular cross section # dd : Cover from outer surface to rebar center # As : Total section area of re-bars # NN : Axial compressive force # MM : Bending moment # SS : Shearing stress # python3 py_rebar_c.py rr dd As NN MM SS python3 py_rebar_c.py 1.0 0.2 0.0565312 71.860 479.406 131.610