The names of six presidents (Obama, Clinton, Carter, Reagan, Trump, Nixon) have been hidden randomly in three identical boxes.
  • You know that
    • One box holds two Democrat names.
    • One box holds 2 Republican names.
    • The other box holds one of each.
  • Your Goal is:
  • Pick a box at random. Pick one name at random from that box.
  • Given: You pulled out a Democrat's name.
  • What is the probability that the other name in that box is also a Democrat?
the host revealed that the boxes contained:
Box 1
 
    Clinton (D) / Obama (D)    
 
Box 2
 
    Reagan (R) / Trump (R)    
 
Box 3
 
    Carter (D) / Nixon (R)    
 

Next Simulated Trial

What Box Number are you choosing?   Box 1 Box 2 Box 3

What name are you choosing from that box?   Left Name Right Name

* Send improvement suggestions to John at domain mazes,com
 
Do you know PHP? I need help coding a simple Input/Output on Server to keep track of grand total of everyone's trials.
1. Delay if file tags say another client is updating file
2. But continue anyway if delay is too long
3. Tag file so other clients know file is being updated
4. Open file, read four numbers as regular Comma delimited text
5. Increment some of those values
6. Write updated numbers back to beginning of file
7. Close file
8. Untag file so next client knows file is available
* * If you have free advice, I'd love to add it to this program.