Success = (number of attempts) × (probability of success each time)(thetrueengineer.com)
thetrueengineer.com
Success = (number of attempts) × (probability of success each time)
https://www.thetrueengineer.com/p/success-number-of-attempts-probability
2 comments
I think you mean (1-(1-prob[success])^numAttempts).
Touché, you're right. The point still stands though: run the program more times