Finite-Element Analysis of Periodic Waveguides for Acoustic Waves