A numerical model for wave scattering problems in infinite media due to p‐ and sv‐wave incidences