freeCodeCamp/guide/english/mathematics/example-all-the-ways-you-ca.../index.md

23 lines
965 B
Markdown
Raw Normal View History

2018-10-12 19:37:13 +00:00
---
title: Example All the Ways You Can Flip a Coin
---
## Example All the Ways You Can Flip a Coin
In the experiment of flipping a coin, the mutually exclusive outcomes are the coin landing either heads up or tails up.
2018-10-12 19:37:13 +00:00
When we flip a coin a very large number of times, we find that we get half heads, and half tails. We conclude that the probability to flip a head is 1/2, and the probability to flip a tail is 1/2.
2018-10-12 19:37:13 +00:00
Consider the experiment of flipping of **n** coins where we can enumerate all possible outcomes as follows, where H indicates a head, and T a tail:
2018-10-12 19:37:13 +00:00
* **n = 1** | H T
* **n = 2** | HH HT TH TT
* **n = 3** | HHH THH HTH HHT TTH THT HTT TTT
* **n = 4** | HHHH THHH HHHT THHT HHTH THTH HHTT THTT HTHH TTHH HTHT TTHT HTTH TTTH HTTT TTTT
The formula for all possible outcomes of flipping n coins is 2 to the nth power.
2018-10-12 19:37:13 +00:00
#### More Information:
- [Theory of Probability](http://www.pas.rochester.edu/~stte/phy104-F00/notes-2.html)