Getting heads (or tails) when flipping a coin has a probability of:

When we flip the coin for the second time, the head is still there, so the probabilities are the same:

The probability of getting heads twice is the product of the individual (independent) events:

Calculating:
