A particular event occurs every minute, for instance. When this event starts, it is checked whether a random number (a float between 0.0 to 1.0) is less or equal than 0.1. If so, then an action occurs.
- Every minute: event generate a random number between
0.0to1.0; - If random number is
<=to0.1, do action; - Else, wait to next minute to try again;
I need know a formula that accept a number of cycles as variable and I receive the possibility to action occur.
- Cycle 1: 10% of chances;
- Cycle n: ...% of chances;
- Cycle 60: ...% of chances;