Finite element analysis of reinforced concrete beams