Geek Puzzle

For everything that's not in any way related to PureBasic. General chat etc...
Irene
Enthusiast
Enthusiast
Posts: 461
Joined: Thu Oct 04, 2007 12:41 pm

Post by Irene »

DoubleDutch wrote:1+1=0 ....

1 + 1 logically is 0 because p + p = 0

+ is a logical sign for XOR

http://en.wikipedia.org/wiki/XOR
Didn't think about that.. cool! ^o^
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

I've edited my post its now cooler! ;)
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
Irene
Enthusiast
Enthusiast
Posts: 461
Joined: Thu Oct 04, 2007 12:41 pm

Post by Irene »

DoubleDutch wrote:I've edited my post its now cooler! ;)
Haha ^o^
Derek
Addict
Addict
Posts: 2354
Joined: Wed Apr 07, 2004 12:51 am
Location: England

Post by Derek »

@citystate, you're correct! :lol:
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Post by Rook Zimbabwe »

This just explains why I don't let my computer do my income tax! No matter how it is added up I still get 0.00 back!

If we encounter our college girlfriend with a baby, she says she has 2 children. This one is a boy named Rook Jr. Knowing she has exactly two children, given that at least one of them is a boy, what is the probability that both of her children are boys?
or

If three hens lay three eggs in three days, how many eggs does a hen lay in one day?
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
Derek
Addict
Addict
Posts: 2354
Joined: Wed Apr 07, 2004 12:51 am
Location: England

Post by Derek »

75% chance both are boys.

1 third of an egg.
Nik
Addict
Addict
Posts: 1017
Joined: Fri May 13, 2005 11:45 pm
Location: Germany
Contact:

Post by Nik »

1 hen lays 1 egg in three days, that's a probability of 33.33% that she lays an egg at any given day in a time space of three days, because she can't lay a 1/3 egg per day :P

The probability of both children being boys is 50% because the chance that a child is a boy is roughly 50% no matter how many childen you already have. And if she gets a girl it's not two boys but if she gets a boy it's two boys.
Derek
Addict
Addict
Posts: 2354
Joined: Wed Apr 07, 2004 12:51 am
Location: England

Post by Derek »

I figured that she was already half way there (50%) and the chance of the other being a boy was 50/50 (of the remaining 50%=25%) therefore 75%.

Would be intersting to see the hen that lays thirds of an egg. :lol:
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Post by Rook Zimbabwe »

1/3 of an egg is right...

75% nope...

the option are: 2 girls (we can throw out), boy and girl(we can ignore because it isn't 2 boys), and 2 boys (1 of 3 and the only one we were asking for 1 of 3 is 1/3)

33%

:D
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
Nik
Addict
Addict
Posts: 1017
Joined: Fri May 13, 2005 11:45 pm
Location: Germany
Contact:

Post by Nik »

But you said "given that at least one of them is a boy" so there is no girl,girl option, or did I get something wrong here
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Post by Rook Zimbabwe »

Simple... girl/girl is ONE of the possibilities... but we can discard it as we know at least ONE of the children is a boy... The possibility still exists that she could have had two girls.

The knowledge that one child is a boy allows us only to assume the following 2 out of 3 scenarios:

girl/boy and boy/boy

The total possibility of all combos for 2 children (assuming normal birth with no Hermaphrodites and no Freemartins) is thus:

1- Girl/Girl
2- Boy/Girl
3- Boy/Boy
Knowing she has exactly two children, given that at least one of them is a boy,
One of the KEY words is "Given" which means we must include ALL possibilities in our answer.

We are asking the percentage of probability that she has Boy/Boy. There are 3 combinations possible. We can delete the Girl/Girl possibility. This deducts 33% (or 1/3 possibilities) she could have Boy/Girl but we don't care about that which deducts the second of the 3 possibilities leaving only the last selection as a probability of what we wanted out of the three possible selections or 1/3 (33%.)

Statistics are slippery... Wait till you get to Graduate School and have to take a class before you are allowed to write your Dissertation!!! The section on my dissertation on my statistical methodology was about 96 pages long. :(
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
Nik
Addict
Addict
Posts: 1017
Joined: Fri May 13, 2005 11:45 pm
Location: Germany
Contact:

Post by Nik »

So it probably was a language barrier thing.
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Post by Rook Zimbabwe »

That could entirely be the case...
:cry: Sorry!

I can see where you would think 50% because you dismissed the Girl/Girl possibility :D That leaving Boy/Girl and Boy/Boy there only 1 of 2 (1/2) would be Boy/Boy and therefore 50%.

Then again it could simply be a Elvis Clone left by the space aliens to promote their future enslavement of the Human race... 8)
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Post by Rook Zimbabwe »

:oops: Boy can I kill a thread or what? :oops:
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

50% of all statistics are false. The rest is made up.
By the way, lessee how smart we are. What was first, the chicken or the egg? (There is actually an answer to that one...)
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Post Reply