Which of the following earthquake waves cause the material they pass through to compress and extend?

Select one:

a. P-waves

b. S-waves

c. Surface waves

d. All of the above