aboutsummaryrefslogtreecommitdiff
path: root/htdocs
diff options
context:
space:
mode:
Diffstat (limited to 'htdocs')
-rw-r--r--htdocs/js/data.js35
1 files changed, 34 insertions, 1 deletions
diff --git a/htdocs/js/data.js b/htdocs/js/data.js
index 5a12764..7b66e46 100644
--- a/htdocs/js/data.js
+++ b/htdocs/js/data.js
@@ -241,7 +241,40 @@ var DATA = {
" y &= mx + b",
"\\end{align*}",
],
- }],
+ }, {
+ name: "Permutations and Combinations",
+ text: [
+ "\\text{Permutations and Combinations} \\\\",
+ "",
+ "\\begin{array}{|c|c|c|c|}",
+ "\\hline",
+ " \\text{Name} &",
+ " \\text{Ordering} &",
+ " \\text{Repetition} &",
+ " \\text{Formula} \\\\ ",
+ "\\hline",
+ " \\text{Permutation} &",
+ " \\text{Yes} &",
+ " \\text{Yes} &",
+ " n^k \\\\",
+ "\\hline",
+ " \\text{Permutation} &",
+ " \\text{Yes} &",
+ " \\text{No} &",
+ " \\frac{n!}{(n - k)!} \\\\",
+ "\\hline",
+ " \\text{Combination} &",
+ " \\text{No} &",
+ " \\text{Yes} &",
+ " \\frac{(n + k - 1)!}{k!(n - 1)!} = {n + k - 1 \\choose k} \\\\ ",
+ "\\hline",
+ " \\text{Combination} &",
+ " \\text{No} &",
+ " \\text{No} &",
+ " \\frac{n!}{k!(n - k)!} = {n \\choose k} \\\\ ",
+ "\\hline",
+ "\\end{array}",
+ ]],
themes: [
"ambiance",