Skip to content

It's a try of my mathmatics two chapters named Combination and Permutation. Here I tried to make a normal programme to get factorials and get nCr, nPr values.

Notifications You must be signed in to change notification settings

mahamudh472/Combination-and-Permutaions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Practice project

This project is a practice for me. I was reading the chapters Permutation and combinations. So I Just used the formulla here to get the permutations and combinations. I know python have built-in packages for these operations. But it was fun😄.

Factorial

n!=n×(n−1)×(n−2)×⋯×1
n!=n×(n−1)×(n−2)×⋯×1
Special case: 0!=10!=1

Permutation

P(n,r)=n!/(n−r)!
P(n,r)=n!/(n−r)!

Combination

C(n,r)=n!/[r!×(n−r)!]
C(n,r)=n!/[r!×(n−r)!]

About

It's a try of my mathmatics two chapters named Combination and Permutation. Here I tried to make a normal programme to get factorials and get nCr, nPr values.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages