May 5th, 2007

bswing

links for 2007-05-05

Original: craschworks - comments

bswing

The Mathematics of Sex

brec, via patrissimo, points out the following fact:

Assume that your pickup lines work 1 out of a 100 times. How many people would you have to ask out in order to have a 50% probability of getting laid?

>>> p_pickup_line_works = 0.01
>>> p_pickup_line_fails = 1 - p_pickup_line_works
>>> def get_laid(num_tries):
… return 1 - p_pickup_line_fails**num_tries

>>> get_laid(68)
0.49511411121293059
>>> get_laid(69)
0.50016297010080135

The magic number is 69!

Of course, if your date discovers how you arrived at these figures, p_pickup_line_works will probably be much less than 0.01.

p.s. To have a 95% chance of getting laid, you’d have to ask 299 people.

>>> get_laid(299)
0.95046374336233774

Original: craschworks - comments