# Exercise 2: hotspot track speed # Distance from the old end of the island chain to the active hotspot, and the age of that rock. distance_km = 520 age_myr = 5.0 speed = distance_km / age_myr # km per million years print(f"speed = {speed:.0f} km/Myr = {speed / 10:.1f} cm/yr") # Predict the age of rock found at other distances from the hotspot for d in (100, 300, 500): print(f"{d} km away: about {d / speed:.1f} million years old") # Check: the plate moves about 8-10 cm/yr (check), so the speed should agree.