Skip to content

Commit

Permalink
Fix markdown/latex rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
Corey Chivers committed Mar 15, 2020
1 parent 7861321 commit aa6e252
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,10 @@
- The $\\gamma$ parameter represents 1 over the mean recovery time in days. Since the CDC is recommending 14 days of self-quarantine, we'll use $\\gamma = 1/14$.
- Next, the AHA says to expect a doubling time $T_d$ of 7-10 days. That means an early-phase rate of growth can be computed by using the doubling time formula:
$$g = 2^{1/T_d} - 1$$
""")
st.latex("g = 2^{1/T_d} - 1")

st.markdown("""
- Since the rate of new infections in the SIR model is $g = \\beta S - \\gamma$, and we've already computed $\\gamma$, $\\beta$ becomes a function of the initial population size of susceptible individuals.
$$\\beta = (g + \\gamma)/s$$
Expand Down

0 comments on commit aa6e252

Please sign in to comment.