a certain roller coaster has 5 cars , and a passenger is equally likely to ride in any 1 of the 5 cars each time that passenger rides the roller coaster . if a certain passenger is to ride the roller coaster 5 times , what is the probability that the passenger will ride in each of the 5 cars ?
"if he is to ride 5 times and since he can choose any of the 5 cars each time , total number of ways is = 5 * 5 * 5 * 5 * 5 = 3125 now the number of ways if he is to choose a different car each time is = 5 * 4 * 3 * 2 * 1 = 120 so the probability is = 120 / 3125 = 24 / 625 answer : b"
multiply(factorial(5), power(divide(1, 5), 5))