DEV Community

Cover image for "Day 51 of My Learning Journey: Setting Sail into Data Excellence! Today's Focus: Maths for Data Analysis ( Perm & Comb- 6)
Nitin-bhatt46
Nitin-bhatt46

Posted on

"Day 51 of My Learning Journey: Setting Sail into Data Excellence! Today's Focus: Maths for Data Analysis ( Perm & Comb- 6)

PERMUTATION AND COMBINATION - 6

Factorial ( NPR )

N! = NO. of ways in which n-different objects can be arranged linearly.

N! / (N-r)! = nPr = no. of ways in which an β€˜r’ object out of β€˜n’ object can be arranged linearly.

Permutation of n object taken in r = npr

Representation of npr = p(n,r) or nPr

Where ( r<= n )
Npr = n!

Numerical

Q1. 4 different letter A,B,W,P & four different boxes
In how many ways 4 letters can be arranged in the four boxes ?
Sol :- 4!
A has 4 possibilities
B has 3 possibilities

W has 2 possibilities
P has 1 possibilities

Q2. 10 different letter A,B,C,D,E,P,Q,R,S,T & four different boxes
In how many ways ARRANGEMENT of 10 different letters taken 4 letters at a time into 4 boxes ?
Sol :- npr will be used
10! / (10-4)!
= 10*9*8*7

πŸ™ Thank you all for your time and support! πŸ™
Don't forget to catch me daily at 6:30 Pm (Monday to Friday)for the latest updates on my programming journey! Let's continue to learn, grow, and inspire together! πŸ’»βœ¨

Top comments (0)