Jump to content

How to use your history of health to generate a random number

Unchecked
From Wikinews, the free news source you can write!

Wednesday, November 13, 2024

This is going to be your guide for using your physical health to generate a pseudorandom number.

Procedure

[edit]
  • 000001. Take an interval of your life.
  • 000002. Calculate the number of seconds in that interval. Remember, there are 60 seconds in a minute, 60 minutes in an hour, and 24 hours in a day, so there are 24 × 60 × 60 = 86,400 seconds. A period of, say, 32 days, therefore has 86,400 × 32 = 2,764,800 seconds. Therefore, you should calculate the number of days, then multiply by 86,400.
  • 000003. Count how many "loud cough ordeals" you had in that interval.
  • 000004. Divide the answer in step 3 by the answer in step 2, as above. Since the number of "loud cough ordeal seconds" must clearly be less than the number of seconds in the interval, while being a nonnegative integer, the quotient will be a real number between zero and one. This quotient is your pseudorandom decimal number.

Example

[edit]

Pokémon Brilliant Diamond and Shining Pearl were released on November 19, 2021, so they are 1,090 days old as of November 13, 2024.