When to Expect

by Jonas A. Wendorf

Calculates how many tries are needed to expect an event (by default with ≥ 50 % probability).