Normal stress in beam structures due to normal forces and bending moments