For the best experience on desktop, install the Chrome extension to track your reading on news.ycombinator.com
Hacker Newsnew | past | comments | ask | show | jobs | submit | history | more malbertife's commentsregister


You need to compute the ratio between the number of successful experiments and the number of total experiments.

If what you want to know is the probability of having the 5 guys paired with 3 men and 2 women (which is what I think the grandfather meant), the answer is

C(4,3) x C(10,2) / C(14,5) = about 9%

(number of ways to pick 3 men out of 4 x number of ways to pick 2 women out of 10 / number of ways to pick 5 people out of 14, /regardless of the order/)

If you want to know the probability of having the pairs made exactly in the order the grandfather mentioned, it's

P(4,3) x P(10,2) / P(14,5) = about 0.9%

(as above, but considering the order)

where C(M,N) and P(M,N) are the number of combinations and permutations of N items out of M, respectively.

(edit to change multiplication symbol, asterisk doesn't show)


I use org-mode in Emacs: it's the fastest and most convenient way of editing a document's structure I've found so far, and I find myself doing that a lot with my resume. Then I export to LaTeX, HTML, or plain text.


How does the org -> latex -> pdf look in the end? Could you post it?


It contains my home address, mobile number and so on, so I'd rather not post it.

But it looks like a plain article class LaTeX document, except that I changed the margins and the font (Palatino instead of Times). If you want a more sophisticated layout you can customize the LaTeX-specific options; they'll be ignored when you export to other formats.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search:

HN For You