Question: what is the probability of getting at most two heads?
Answer: Probability of getting atmost two heads in flipping the coin 3 times is 1–1/2^3=1–1/8=7/8. (Since there are 2 chances in each flip ,total number of chances are 2^3=8).