Check in Octave script for disaster probability.

Write a simple Octave script to play around with the formula to choose
for the disaster probability.