# Thread: Simple probablility question. Been years since I have studied this stuff.

1. ## Simple probablility question. Been years since I have studied this stuff.

I am writing a script that is sort of like a slot machine. Here is how it works

random numbers are chosen that are between 0-9

This is done 4 times (4 separate columns, each can hit 0-9)

What are the odds that 0 of the numbers will match?

What are the odds that 2 of the numbers will match?

What are the odds that 3 of the numbers will match?

What are the odds that all 4 numbers match?
0-9 = 10 numbers --- 10*10*10*10 = 10,000 --- 10/10,000 = 1/1,000

2. ## Re: Simple probablility question. Been years since I have studied this stuff.

1. What are the odds that 0 of the numbers will match?

2. What are the odds that 2 of the numbers will match?

3. What are the odds that 3 of the numbers will match?

4. What are the odds that all 4 numbers match?
0-9 = 10 numbers --- 10*10*10*10 = 10,000 --- 10/10,000 = 1/1,000

Number 4 seems correct.

 Tweet

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts