Spaces:
Sleeping
Sleeping
Update pages/2_What is Probability?.py
Browse files
pages/2_What is Probability?.py
CHANGED
|
@@ -98,7 +98,7 @@ In this case empirical probability is not used so that we make assumption (i.e.,
|
|
| 98 |
|
| 99 |
---> **Empirical Probability = Theoretical probability at infinity**'''
|
| 100 |
st.markdown(multi)
|
| 101 |
-
st.subheader(":green[
|
| 102 |
multi = '''Theoretical probability is used when number of trials increases
|
| 103 |
|
| 104 |
It is the ratio of total number of favourable outcomes with respect to total number of outcomes
|
|
@@ -123,7 +123,20 @@ What is the probability of a person winning a raffle prize?
|
|
| 123 |
|
| 124 |
---> Probability(person winning a raffle prize) = 30 / 500
|
| 125 |
|
| 126 |
-
---> Therefore, 30 / 500 = 0.06. This shows that the probability of a person winning a raffle prize is 0.06.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 127 |
st.markdown(multi)
|
| 128 |
|
| 129 |
|
|
|
|
| 98 |
|
| 99 |
---> **Empirical Probability = Theoretical probability at infinity**'''
|
| 100 |
st.markdown(multi)
|
| 101 |
+
st.subheader(":green[2.Theoretical Probability]")
|
| 102 |
multi = '''Theoretical probability is used when number of trials increases
|
| 103 |
|
| 104 |
It is the ratio of total number of favourable outcomes with respect to total number of outcomes
|
|
|
|
| 123 |
|
| 124 |
---> Probability(person winning a raffle prize) = 30 / 500
|
| 125 |
|
| 126 |
+
---> Therefore, 30 / 500 = 0.06. This shows that the probability of a person winning a raffle prize is 0.06.
|
| 127 |
+
|
| 128 |
+
**Example-2:**
|
| 129 |
+
|
| 130 |
+
The letters of the word "MATHEMATICS" are placed in a bag.
|
| 131 |
+
What is the probability of drawing the letter "T" from the bag?
|
| 132 |
+
|
| 133 |
+
---> total number of letters = 11
|
| 134 |
+
|
| 135 |
+
---> As there are two T's placed in the bag thus, the number of favorable outcomes = 2.
|
| 136 |
+
|
| 137 |
+
---> Probability(drawing the letter "T") = 2 / 11 = 0.18
|
| 138 |
+
|
| 139 |
+
---> Probability of drawing the letter "T" is 0.18'''
|
| 140 |
st.markdown(multi)
|
| 141 |
|
| 142 |
|