Home
Generalized Permutations and Combinations Generating Permutations and Combinations
|
Computer Science 235 Project
Permutations & Combinations Patrick McAtee, Tom Rice, and Jesse Whidden |
||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Generalized Permuations and CombinationsRepetitions, Indistinguishable Objects, and Objects in Boxes
Repetitions SummaryIn this section, we've examined how repetition or sampling with replacement can change the number of possibilities, or the probability of an event. Whenever you're calculating combinations, it's important to first identify the n and r values. Remember that n is always the number of things you have to choose from and r is always how many of those items you want to pick.
Here is a summary of the main formulas introduced so far:
For comparison, here is an example of how the different formulas can afffect your final answer: Source code: pcApp.java
Last updated 12/14/2001 |