Data Science, Data Visualization, Data Analysis, Rust, Programming.
takes exactly 4 flips to achieve the first head? In this case, we have a success probability of p = 0.5 since the coin is fair. We can use the Geometric distribution formula to calculate the probability: Geometric Distribution probability mass function example (PMF) (Image by author) It can be