The Vibrating Beam With Nonhomogeneous Boundary Conditions