Given independent trials with (possibly different) success probabilities p1, p2, ..., pn, this repo computes the probability that the event happens in exactly one trial. Formally, for p = [p1, ..., pn ...