fork/numbat
git clone https://git.julia.blue/fork/numbat
c354c09
v1.7.0
1# Droppings 2# 3# If you went outside and lay down on your back with your mouth open, how long 4# would you have to wait until a bird pooped in it? 5# 6# https://what-if.xkcd.com/11/ 7 8@aliases(birds) 9unit bird 10unit mouth 11unit poop 12 13let earth_radius = 6371 km 14 15let frequency = (300 billion birds / 4 pi earth_radius^2) × (1 poop / bird / hour) × (16 hours / day) × (1 mouth / poop) × (15 cm^2 / mouth) 16let period = 1 / frequency 17 18print("It happens once every ~{period -> year}s")