April 28th, 2008

St. Basil's

Math Geekery

neuromancerzss asked me a quick math question and it got rosinavs and I geeking about probability. His question was basically, "If I have N coins, each with a different probability PN of coming up heads, what is the probability that Y or more will come up heads?". This problem is trivial if they all have the same PN, and moderately simple if N or Y is small (we're talking Y<=2 here, kids). But I thought "This should be no problem in matlab!"

Collapse )

And man, did I forget how much I loved matlab. Tonight, I'm going to sit in bed and diagram out the first computer program I've written for myself in a long, long time - the Camelot Chores Generator.
  • Current Music
    Tenchi Muyo! TV Theme (English) - Sonia