Propagation of a Pulse in a Nonhomogeneous Elastic Rod With Varying Cross Section