Consider a street that is 5 blocks long, where there is a building of height P[i] on the ith block. If you are standing at the very left end of the street, you will be able to see some of these 5 buildings, but unfortunately many of them will be blocked by a taller building. In this question, consider a random permutation of {1, 2, 3, 4, 5} buildings, where each of the 5! = 5×4×3×2×1 = 120 options is equally likely to occur. Suppose the buildings are placed on the street according to this random permutation. (a) Determine the probability that you will only be able to see exactly one of the five buildings. (b) Determine the probability that you will be able to see exactly four of the five buildings.
Contingency Table
A contingency table can be defined as the visual representation of the relationship between two or more categorical variables that can be evaluated and registered. It is a categorical version of the scatterplot, which is used to investigate the linear relationship between two variables. A contingency table is indeed a type of frequency distribution table that displays two variables at the same time.
Binomial Distribution
Binomial is an algebraic expression of the sum or the difference of two terms. Before knowing about binomial distribution, we must know about the binomial theorem.
Consider a street that is 5 blocks long, where there is a building of height P[i] on the ith block.
If you are standing at the very left end of the street, you will be able to see some of these 5 buildings, but unfortunately many of them will be blocked by a taller building.
In this question, consider a random permutation of {1, 2, 3, 4, 5} buildings, where each of the 5! = 5×4×3×2×1 = 120 options is equally likely to occur.
Suppose the buildings are placed on the street according to this random permutation.
(a) Determine the
(b) Determine the probability that you will be able to see exactly four of the five buildings.
**Building attached
Probability is a branch of statistics which is basically or fundamentally used to find out how likely an even is to occur (in numerical terms). The permutation deals with arrangements or the number of possible arrangements into a sequence or a linear order.
Trending now
This is a popular solution!
Step by step
Solved in 5 steps