Finite element formulation of acoustic scattering phenomena with absorbing boundary condition in the frequency domain