Deflections and Slopes for Cantilever Beams