Binomial distribution of probability

This applet simulates the experiment of tossing four times a coin and computes the frequency of ocurrence of the five possible outcomes (independently of order):
  • Tail-Tail-Tail-Tail
  • Tail-Tail-Tail-Head
  • Tail-Tail-Head-Head
  • Tail-Head-Head-Head
  • Head-Head-Head-Head
The coin can be a rigged one, having probability of landing on the head equal to .