You will write three functions that a marine geologist uses: the depth from an echo, the half rate from a stripe, and the age of the ocean floor at a distance from the ridge.
The idea. Depth with . The half rate in cm a year is the distance in km divided by the age in million years, then divided by . The age is the distance divided by the half rate in km per million years.
Your tasks.
depth, return the depth in m for an echo time in s.half_rate, return the half rate in cm a year.age_at, return the age in million years at a distance in km, for a half rate in cm a year.Run your code once to unlock the worked solution.
Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…