ANSWERS: 2
-
Exactly, 1/∞ = 0.
-
Depends. Here's my program: generate random number: step 1: store 1 in box A. goto step 2. step 2: flip coin. goto step 3. step 3: if heads goto step 4 else goto step 5. step 4: add 1 to the number in box A. goto step 2. step 5: display number in box A. goto step 6. step 6: stop. My program generates numbers of any size yet the probability of generating the number 1 is one half. Tell me your program, I'll tell you the probability! I'm especially interested in how you will calculate the random number.
Copyright 2023, Wired Ivy, LLC

by 