Programming - A Gateway Drug to Math

I decided to try my hand at the Stanford’s AI Class. The pre-requisites mentioned Probability and Linear Algebra. So I started watching Probability videos on KhanAcademy. Sal Khan was teaching how to find the probability of 2 heads when you toss a coin 5 times. A classic nCk problem: The probability of getting 2 heads while tossing a coin 5 times is: But I wanted to find out the probability of getting at least 2 heads when I toss 5 coins....

October 4, 2011 · 1 min