Let E1=5 or 6 appears on a die,E2=1,2,3 or 4 appears on a die and A=A head appears on the coin.
Now P(E1)=\(\frac{2}{6}\)=\(\frac{1}{3}\),P(E2)=\(\frac{4}{6}\)=\(\frac{2}{3}\)
Now P(A|E1)Probability of getting a head on tossing a coin three times,
When E1 has already occurs=P(HTT)or P(THT)or P(TTH)
\(=\frac{1}{2}\times\frac{1}{2}\times\frac{1}{2}+\frac{1}{2}\times\frac{1}{2}\times\frac{1}{2}+\frac{1}{2}\times\frac{1}{2}\times\frac{1}{2}=\frac{3}{8}\)
P(A|E2)=Probability of getting a head on tossing a coin once,
When E2 has already occured=\(\frac{1}{2}\)
∴P(there is exactly one head given that 1,2,3 or 4 appears on a die)
\(P(E_2|A)=\frac{P(E_2)P(A|E_2)}{P(E_1)P(A|E_1)+P(E_2)P(A|E_2)}\)
\(=\frac{\frac{2}{3}\times\frac{1}{2}}{\frac{1}{3}\times\frac{3}{8}+\frac{2}{3}\times\frac{1}{2}}\)\(=\frac{\frac{1}{3}}{\frac{1}{8}+\frac{1}{3}}\)\(=\frac{24}{3}\times11\)=\(\frac{24}{33}\)=\(\frac{8}{11}\)
A relation R on set A = {1, 2, 3} defined as R = {(1, 1), (2, 2), (1, 2)} is
\( \left[ \tan^{-1}\sqrt{3} - \sec^{-1}(-2) \right] \) is equal to :
For events A and B, if \(P(B)=\frac{3}{5}\), \(P(A/B)=\frac{1}{2}\) and \(P(A\cup B)=\frac{4}{5}\), then \(P(A)\) is :
A box contains cards numbered 1 to 22. Two cards are drawn simultaneously without replacement and their numbers are noted. What is the probability that both numbers are even ?
A shop selling electronic items sells smartphones of only three reputed companies A, B, and C because chances of their manufacturing a defective smartphone are only 5%, 4%, and 2% respectively. In his inventory, he has 25% smartphones from company A, 35% smartphones from company B, and 40% smartphones from company C.
A person buys a smartphone from this shop
(i) Find the probability that it was defective.
A shop selling electronic items sells smartphones of only three reputed companies A, B, and C because chances of their manufacturing a defective smartphone are only 5%, 4%, and 2% respectively. In his inventory, he has 25% smartphones from company A, 35% smartphones from company B, and 40% smartphones from company C.
A person buys a smartphone from this shop

List any two characteristics of Pandas library in Python.
Bayes’ Theorem is a part of the conditional probability that helps in finding the probability of an event, based on previous knowledge of conditions that might be related to that event.
Mathematically, Bayes’ Theorem is stated as:-
\(P(A|B)=\frac{P(B|A)P(A)}{P(B)}\)
where,
This formula confines well as long as there are only two events. However, Bayes’ Theorem is not confined to two events. Hence, for more events.