Mathematical analysis to study the characteristics of shear wave propagation in earth's layered structures