Checking in Wolframalpha: reliability win and lose
both probability of winning and losing create 4 combinations:
C+p^N=1… (1-C)+p^N=1… C+(1-p)^N=1… (1-C)+(1-p)^N=1
Everything is interchangeable:
C=1-c… c=1-C… P=1-p… p=1-P
Artificial intelligence of Wolframalpha knows logarithm:
solve C+(1-p)^N=1 for N
Checking in Wolframalpha: reliability win and lose
both probability of winning and losing create 4 combinations:
C+p^N=1… (1-C)+p^N=1… C+(1-p)^N=1… (1-C)+(1-p)^N=1
Everything is interchangeable:
C=1-c… c=1-C… P=1-p… p=1-P
Artificial intelligence of Wolframalpha knows logarithm:
solve C+(1-p)^N=1 for N
wolframalpha.com/input/?i=solve+C%2B%281-p%29%5EN%3D1+for+N
1000 programs
rosettacode.org/wiki/Category:C_sharp
rosettacode.org/wiki/Category:Pure...
rosettacode.org/wiki/Category:Python
rosettacode.org/wiki/Category:QB64
rosettacode.org/wiki/Category:QBasic
thousands of programs
Previous themes:
Guess number: 1-line C# & qbasic learning algorithm. Priority of Russia
dev.to/andreydanilin/guess-number-...
Falsification of randomness and transformation by sorting of pseudorandom sequences. Priority of Russia
dev.to/andreydanilin/falsification...
Research and transformation by sorting pseudorandom sequences. Priority of Russia
dev.to/andreydanilin/research-and-...
PI and randomness of digits after decimal point. Priority of Russia
dev.to/andreydanilin/pi-and-random...