Workflow 5 steps, run in order in one session. Every step was executed against the engine and the output below is what it produced.
atLeastOnce[p_, n_] := 1 - (1 - p)^nNo output - this step sets something up for the next one.
N[atLeastOnce[1/100, 50]]0.3949939328624633expectedHits = 50 (1/100)1/2atLeastTwice = N[1 - (1 - 1/100)^50 - 50 (1/100) (1 - 1/100)^49]0.08943531309603069Plot[atLeastOnce[1/100, n], {n, 0, 300}]-Graphics-All recipes · Function reference · Use this from an MCP client