Essential And Natural Boundary Conditions For Beams