A numerical investigation on impulse-induced nonlinear longitudinal waves in pantographic beams