Cantilever bending, Three-point bending, Analysis of beams