Numerical analysis of linear wave propagation in the atmosphere with temperature gradient for Mach cutoff reproduction