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. /Reducing a line of gravity readings
Earth and Environmental ScienceHardHigh School (11–12)The Earth's Structure and Interior

Reducing a line of gravity readings

A gravimeter line crossed a plateau. For each station you have the latitude, the height and the observed gravity in m/s². You will work out the Bouguer anomaly of every station and find the most negative one.

The idea. The Bouguer anomaly in mGal is ΔgB=(gobs−gn)×105+0.3086 h−2πGρh×105\Delta g_B = (g_{obs} - g_n)\times 10^5 + 0.3086\,h - 2\pi G\rho h \times 10^5ΔgB​=(gobs​−gn​)×105+0.3086h−2πGρh×105, with gng_ngn​ from the international formula.

Your tasks.

  1. In normal_gravity, return gng_ngn​ in m/s² from the latitude in degrees.
  2. In bouguer, return the Bouguer anomaly in mGal of the station with the given number, with ρ=2670 kg/m3\rho = 2670\ \text{kg/m}^3ρ=2670 kg/m3.
  3. In most_negative, return the number of the station with the smallest Bouguer anomaly.

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, look at the anomalies in order. Which stations are on the highest ground, and what does the pattern say about the crust under them?

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
← Reading the shadow zones from a station listWhich density contrast fits the crust? →
More onThe Earth's Structure and Interior

Discussion (0)

Log in to join the discussion.

Loading…

Learn it in

  1. Gravity anomalies and surveysGravity, Isostasy and the Shape of the Earth

More labs on this topic

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