# Exercise 3: how long was a glacier parked at one spot if it left a moraine ridge of known size? SPEED, THICK, WIDTH = 50, 100, 500 RIDGE_AREA, RIDGE_LENGTH = 600, 1500 volume = RIDGE_AREA * RIDGE_LENGTH # m3 of rock in the ridge flux = SPEED * THICK * WIDTH # m3 of ice per year print(f"Ridge volume {volume:,} m3") for debris in (0.001, 0.002, 0.005): years = volume / (flux * debris) print(f"debris {debris * 100:.1f} percent of the ice glacier held position about {years:,.0f} years") # Ridge volume 900,000 m3 # debris 0.1 percent of the ice glacier held position about 360 years # debris 0.2 percent of the ice glacier held position about 180 years # debris 0.5 percent of the ice glacier held position about 72 years