Let \( p \) and \( q = 1 - p \) be the probabilities of success and failure, respectively. The probability of getting \( r \) successes in \( n \) trials is:
\[ P(r) = \binom{n}{r} p^r q^{n-r}. \]
For \( n = 4 \), the probabilities of two and three successes are equal:
\[ \binom{4}{2} p^2 q^2 = \binom{4}{3} p^3 q. \]
Simplify the binomial coefficients:
\[ 6p^2 q^2 = 4p^3 q. \]
Divide through by \( p^2 q \) (since \( p, q > 0 \)):
\[ 6q = 4p \implies 3q = 2p \implies q = \frac{2}{5}, \; p = \frac{3}{5}. \]
The probability of getting at least one success is:
\[ P(\text{at least one success}) = 1 - P(0), \]
where:
\[ P(0) = \binom{4}{0} p^0 q^4 = q^4 = \left( \frac{2}{5} \right)^4 = \frac{16}{625}. \]
Thus:
\[ P(\text{at least one success}) = 1 - \frac{16}{625} = \frac{609}{625}. \]
Based upon the results of regular medical check-ups in a hospital, it was found that out of 1000 people, 700 were very healthy, 200 maintained average health and 100 had a poor health record.
Let \( A_1 \): People with good health,
\( A_2 \): People with average health,
and \( A_3 \): People with poor health.
During a pandemic, the data expressed that the chances of people contracting the disease from category \( A_1, A_2 \) and \( A_3 \) are 25%, 35% and 50%, respectively.
Based upon the above information, answer the following questions:
(i) A person was tested randomly. What is the probability that he/she has contracted the disease?}
(ii) Given that the person has not contracted the disease, what is the probability that the person is from category \( A_2 \)?