Fundamental frequency of a constrained beam