Internal forces in beams