A seismic line crossed a mountain belt and measured the thickness of the crust under five places of different height. You will test the Airy picture and find the density contrast between the mantle and the crust that fits the data best.
The idea. In the Airy picture the crust is km thick, with the height in km, and . The root-mean-square error compares a model with the data.
Your tasks.
airy_thickness, return the thickness in km for a height and a density contrast.rms_error, return the root-mean-square difference between the model and the five measured thicknesses.best_contrast, search the contrasts from to in steps of and return the one with the smallest error.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…