// Cost-effectiveness of saving money to buy distant galaxies vs x-risk grants // All $ are in units of billions // Use sample count of 10000 and coordinate count of 50 in menu>configuration pScenario = 0.1 // probability galaxies can be bought at all w0 = 470000 // initial world financial wealth in billions returns = 2 to 200 // growth in our fraction of world wealth during IE bid = truncate(0.005 to 0.5, 0.001, 1) // fraction of world's wealth bid on distant galaxies moralTrade = 2 // gains from trade from owning some galaxies valueDefault = min(exponential(3),0.999) // value of a default galaxy relative to our galaxy