# Exercise 3: how tall must a magma column be to crack its roof by buoyancy? RHO_ROCK, RHO_MAGMA, G = 2700, 2400, 9.8 STRENGTH = 10.0 # MPa for h in (100, 500, 1000, 3000, 5000): dp = (RHO_ROCK - RHO_MAGMA) * G * h / 1e6 print(f"column {h:5d} m: buoyant overpressure {dp:5.2f} MPa") needed = STRENGTH * 1e6 / ((RHO_ROCK - RHO_MAGMA) * G) print(f"column needed for {STRENGTH} MPa: {needed:.0f} m") # column 100 m: buoyant overpressure 0.29 MPa # column 500 m: buoyant overpressure 1.47 MPa # column 1000 m: buoyant overpressure 2.94 MPa # column 3000 m: buoyant overpressure 8.82 MPa # column 5000 m: buoyant overpressure 14.70 MPa # column needed for 10.0 MPa: 3401 m # Buoyancy alone needs a magma body a few kilometres tall, so in practice it # works together with gas pressure and new magma arriving from below.