This document defines functions to calculate various probability bounds for binomial distributions. It generates random binomial samples, calculates upper bounds on tail probabilities using Chernoff, Hoeffding, Markov, and Chebyshev bounds, and plots the results. It finds that numerically, P(|X-n/2|>=sqrt(n)/2) approaches 1/2 and P(X>=(n+sqrt(n))/2) approaches 1/4 for large n. It also compares the Chebyshev and Hoeffding bounds for various values of x.