Finite Element Method Applied to the One-dimensional Westervelt Equation