Comparison between numerical methods applied to damped wave equation