View Single Post
Old 06-05-2015, 10:20 AM  
RazorSharpe
Confirmed User
 
RazorSharpe's Avatar
 
Industry Role:
Join Date: Aug 2001
Location: Scotland
Posts: 2,238
Quote:
Originally Posted by Grapesoda View Post
There are n sweets in a bag. Six of the sweets are orange. The rest of the sweets are yellow.

Hannah takes a sweet from the bag. She eats the sweet. Hannah then takes at random another sweet from the bag. She eats the sweet.

The probability that Hannah eats two orange sweets is 1/3. Show that nē-n-90=0
I'll start you off ... maybe:

1/3 = 6/n x 5/(n-1)
1/3 = 30 / n(n-1)

I'm not even sure if I'm on the right track ...
__________________
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
RazorSharpe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote