The conversation between human and AI assistant.
What is the probability of getting at most 9 heads?
Is there a formula to calculate the probability of getting at most n heads in m coin tosses?
Yes, there is. The formula is: P(X ≤ n) = Σ(k=0 to n) [m!/(k!(m-k)!) p^k (1-p)^(m-k)], where X follows a binomial distribution with m trials and probability of success p.