Modal Analysis of Beams Using Finite Element Methods