Spaces:
Sleeping
Sleeping
Update pages/1_Probability.py
Browse files- pages/1_Probability.py +6 -0
pages/1_Probability.py
CHANGED
|
@@ -94,6 +94,9 @@ st.latex(r"""
|
|
| 94 |
P(E) = \frac{\text{Number of Favorable Outcomes}}{\text{Total Number of Trials}}
|
| 95 |
""")
|
| 96 |
st.title("Empirical probability_Caluculation")
|
|
|
|
|
|
|
|
|
|
| 97 |
Trail_3 = st.number_input("Number of Trials:", min_value=1, max_value=100, value=7,key="Trail_3")
|
| 98 |
if st.button('Start the Experiment: Will it Rain or Not?',key="start_experiment_2"):
|
| 99 |
st.write(f"Running {Trail_3} trials...")
|
|
@@ -112,6 +115,9 @@ st.markdown("""
|
|
| 112 |
Theoretical probability is a type of probability that is calculated based on the possible outcomes and the best part of Theoretical probability is it is independent of Trails.""",unsafe_allow_html=True)
|
| 113 |
st.latex(r"P(E) = \frac{\text{Number of favorable outcomes}}{\text{Total number of possible outcomes}}")
|
| 114 |
st.title("Theoretical probability_Caluculation")
|
|
|
|
|
|
|
|
|
|
| 115 |
Trail_4 = st.number_input("Number of Trials:", min_value=1, max_value=100, value=7,key="Trail_4")
|
| 116 |
if st.button('Start the Experiment: Will it Rain or Not?',key="start_experiment_3"):
|
| 117 |
st.write(f"Running {Trail_4} trials...")
|
|
|
|
| 94 |
P(E) = \frac{\text{Number of Favorable Outcomes}}{\text{Total Number of Trials}}
|
| 95 |
""")
|
| 96 |
st.title("Empirical probability_Caluculation")
|
| 97 |
+
st.write("""
|
| 98 |
+
This simple experiment will tell you Empirical probability when you click button
|
| 99 |
+
""")
|
| 100 |
Trail_3 = st.number_input("Number of Trials:", min_value=1, max_value=100, value=7,key="Trail_3")
|
| 101 |
if st.button('Start the Experiment: Will it Rain or Not?',key="start_experiment_2"):
|
| 102 |
st.write(f"Running {Trail_3} trials...")
|
|
|
|
| 115 |
Theoretical probability is a type of probability that is calculated based on the possible outcomes and the best part of Theoretical probability is it is independent of Trails.""",unsafe_allow_html=True)
|
| 116 |
st.latex(r"P(E) = \frac{\text{Number of favorable outcomes}}{\text{Total number of possible outcomes}}")
|
| 117 |
st.title("Theoretical probability_Caluculation")
|
| 118 |
+
st.write("""
|
| 119 |
+
This simple experiment will tell you Theoretical probability when you click button
|
| 120 |
+
""")
|
| 121 |
Trail_4 = st.number_input("Number of Trials:", min_value=1, max_value=100, value=7,key="Trail_4")
|
| 122 |
if st.button('Start the Experiment: Will it Rain or Not?',key="start_experiment_3"):
|
| 123 |
st.write(f"Running {Trail_4} trials...")
|