a , b , c , d , e , f , g , h sitting in a row what is the probability that a , b , d are sitting together ?
"total number of arrangement is = 8 ! = 40320 favorable event i . e a , b and d can be arranged in 3 ! and the remaining can be arranged in 6 ! since abd can be in any of the six positions . so 3 ! * 6 ! / 8 ! = 3 / 28 answer : b"
divide(multiply(factorial(add(subtract(add(const_4, const_4), const_3), const_1)), factorial(const_3)), factorial(add(const_4, const_4)))