three coins are tossed . find the probability of at most 2 tails ?
"n ( s ) = 2 ^ 3 = 8 let e is the event of getting at most 2 tails n ( e ) = hhh , tth , htt , tht , hht , hth , thh = 7 p ( e ) = n ( e ) / n ( s ) = 7 / 8 ans - d"
divide(2, power(const_2, 2))