HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Space Science and Astronomy
  • Earth and Environmental Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
  1. Python Labs
  2. /The speed of a drifting continent
Earth and Environmental ScienceHardHigh School (11–12)The Earth's Structure and Interior

The speed of a drifting continent

Six lava flows of different ages lie one above the other at one site. Their magnetisations have different inclinations. You will turn the inclinations into palaeolatitudes and find how fast the continent moved.

The idea. For a dipole field tan⁡I=2tan⁡λ\tan I = 2\tan\lambdatanI=2tanλ, so λ=arctan⁡(12tan⁡I)\lambda = \arctan(\frac{1}{2}\tan I)λ=arctan(21​tanI). One degree of latitude is 111.2 km111.2\ \text{km}111.2 km, and 1 km/Ma=0.1 cm/yr1\ \text{km/Ma} = 0.1\ \text{cm/yr}1 km/Ma=0.1 cm/yr.

Your tasks.

  1. In palaeolatitude, return the latitude in degrees for an inclination in degrees.
  2. In speeds, return the list of five speeds in cm/yr between neighbouring flows.
  3. In mean_speed, return the mean speed over the whole record in cm/yr: the total change of latitude divided by the total time.

Run it first, just as it is. The checker at the end prints FAIL for each task. Then do the tasks one at a time, and run the program again after each one. A Hint appears under every check that still fails.

When every line says PASS, compare the five speeds with their mean. Did the continent move at a steady speed? Which interval was the fastest?

StemPy LabContributed by StemPy Lab
python
Loading Python runtime…

A worked solution

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 save
← All Labs
← Fitting a geotherm to a boreholeFinding the tropopause in a balloon sounding →
More onThe Earth's Structure and Interior

Discussion (0)

Log in to join the discussion.

Loading…

Learn it in

  1. The magnetic field and the geodynamoHeat Flow, Geotherms and the Magnetic Field

More labs on this topic

  1. Fitting a geotherm to a boreholeHard
  2. Which density contrast fits the crust?Hard
  3. Reducing a line of gravity readingsHard
  4. Reading the shadow zones from a station listHard
Locating an earthquake from three stationsHard
All labs on this topic →