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 be able to see exactly two of the five buildings. (b) Determine the expected avarage value of the number of buildings you will be able to see.
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
**Building attached
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images