Sunday, July 24, 2022

Ex 3 - Visualize P formula and C formula Using AngularJS

Visualizing P formula and C formula Go to Index of Math Lessons
n:

r:

Permutation

Permutation is arrangement of a set things when the order in which they appear is important.

Taken 'r' things out of 'n' things at a time, it equals n! / (n - r)! which, in this case, is {{calculateP()}}

All permutations are: {{generatePermutations()}}

Combination

Combination is a set things where the order in which they appear is not important.

Taken 'r' things out of 'n' things at a time, it equals n! / (r! * (n - r)!) which, in this case, is {{calculateC()}}

All combinations are: {{generateCombinations()}}

Tags: Mathematical Foundations for Data Science,

No comments:

Post a Comment