Posts with mood nerdy (2)
Falling in love by the end of this song - doing the math!
Posted on 2013-10-26 16:19:00
But somewhere in the world someone is gonna fall in love by the end of this song,--"Odds Are" by Barenaked Ladies
We saw the Barenaked Ladies in concert this week (it was fun!) and not for the first time I heard that line and wondered if that was true. So let's do the math!
For these purposes, I'm going to define "falling in love" as "something that leads to a wedding".  There are 7.12 billion people in the world, and average world life expectancy is 70 years. The average number of marriages a person has throughout her life is a little tricky to track down, but I'll go with the estimate of 1.21. Again to simplify things, I'm going to assume these marriages as evenly distributed throughout one's life.
So, each person will have an average of 1.21/70 = 0.017286 falling in loves per year. Multiplying by 7.12 billion (and dividing by 2, assuming each "falling in love" involves exactly 2 people) gives us around 61.5 million falling in loves per year, or 168,500 falling in loves per day.
That sounded really high to me, but after some thought (and checking the numbers if we just look at US couples), it looks about right. The world is a big place!
The song "Odds Are" is 182 seconds long, so on average if you start playing the song there will be (182 (seconds/song)/86400 (seconds/day))*(168,500 (falling in loves/day)) = 354.9 (falling in loves/song).
Now while things are looking good for BNL's assertion, this just tells us the average, not the probability that this will happen. For that we need to look at the Poisson distribution. Here our gamma is 354.9, and the probability that we will get no events is
(354.9)^0*(e^-354.9)/(0!) = e^-354.9
Wolfram Alpha says that this probability is around 7*10^-155, so the odds that someone will fall in love by the end of this song are extremely good. (for some perspective, there are "only" around 10^80 atoms in the universe, so the chances of not having anyone fall in love during the song are about the same as if you pick two random atoms in the universe, and I do the same and happen to pick the same two atoms)
So: BNL is correct! Kudos.
 - Yes, I realize you could define "falling in love" a bunch of different ways, but this one is one of the easier to count. Feel free to do your own math!
 - World Population article on Wikipedia
 - Quote by Colin Mathers, coordinator for mortality and burden of disease at the World Health Organization
 - naderalmaleh on Yahoo Answers. I would not recommend using this citation should you be writing a research paper!
 - Obviously this isn't true on an individual basis, but in aggregate it's not bad. To be more precise you'd have to come up with a reasonable distribution for a person and then look at how demographics are changing over time. If you want that kind of detail, I'd recommend sending this in to xkcd's what if? and getting off my back!
 - Math!
 - Odds Are article on Wikipedia
 - Hooray for dimensional analysis!
 - Wolfram Alpha query "atoms in the universe", because I got lazy.
Theorycrafting: upgrades from Zul'Aman
Posted on 2008-04-18 16:48:00
Tags: math theorycraft worldofwarcraft
Since I revamped the Frost mage DPS calculator to include Icy Veins and the Water Elemental, plus the fact that Zul'Aman is almost on farm status for us, time to look at what upgrades I would like!
For me right now, 1 point of sustained DPS = 13 int = 3.6 spell crit = 1.9 spell haste = 1.75 +damage = 1.45 +spell hit (still not capped out!)
Ah, that was heartening - there's more out of Zul'Aman for me than I thought! (although Wub's Cursed Hexblade isn't an upgrade, Mantle of Ill Intent may not be so great if I ever get my Heroic Magister's Terrace shoulders, and Mana Attuned Band is a drop out of the third timed chest which seems pretty hard to do)
This backup was done by LJBackup.