You can use a formula column (or use a script window). To learn about the formula editor go to the help documentation here: formula editor.

Information in the help on the specific formula you are looking for is the Binomial Probability.

Other variations related to the binomial distribution are also on that page.

Using the formula in a script window (with show embedded log - right click in script window for menu) is shown in the attached screen shot.