Thursday 16 February 2023

Visualize P formula and C formula

Visualizing P formula and C formula
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

Hindi to English Learning (Version 3)

User Registration First time users, please register... ...