00:01
So, for the first part to determine the number of ways to play 3 songs from the list of 100 different songs we can use combinations.
00:07
So, this is because the order of the song does not matter.
00:11
So, you can repeat the songs and we are selecting 3 songs from 100.
00:15
So, the formula for the combination is like c n k where we have n factorial divided by k factorial times n minus k factorial.
00:25
So, the total number of n is the total number of songs and k is the number of songs to choose.
00:31
So, here n is equal to 100 and the number of songs that we have to choose is 3.
00:37
So, now, calculation calculating the combination c 100 3 it will be 100 factorial divided by 3 factorial divided by 100 minus sorry times divided 100 minus 3 factorial.
00:53
So, this will be 100 factorial divided by 3 factorial times 97 factorial which becomes 100 times 99 times 98 times 97 factorial divided by 3 factorial or 3 times 2 times 2 times 97 factorial which can cancel out this comes out to be 161700.
01:24
So, there are 161700 ways to play 3 songs from the list...