                   <span class="emphasis"><em>k</em></span> expected to be observed from <span class="emphasis"><em>k</em></span>
                    trials with success fraction <span class="emphasis"><em>p</em></span>, at probability
                    <span class="emphasis"><em>P</em></span>. Note that the value returned is a real-number,
                    and not an integer. Depending on the use case you may want to
                    take either the floor or ceiling of the real result. For example: