Simplify into a page template thanks to aleksrutins/cheetah#1

This commit is contained in:
Aleks Rutins 2024-06-04 21:26:12 +00:00
parent 27390b6e77
commit e063e315ed
9 changed files with 28 additions and 42 deletions

View file

@ -1,6 +1,4 @@
<extends template="layouts/base.html" title="Ultrasensitivity & the Hill Function"></extends>
<nav-links back="/activators.html" next="/activators-vs-repressors.html"></nav-links>
<extends template="layouts/page.html" back="/activators.html" next="/activators-vs-repressors.html" title="Ultrasensitivity & the Hill Function"></extends>
# Ultrasensitivity & the Hill Function
@ -54,8 +52,6 @@ To find production rates with the Hill function, just multiply by $\beta_0$:
Onwards!
<nav-links back="/activators.html" next="/activators-vs-repressors.html"></nav-links>
<script>
plot('#hill-graph', (k, n) => [`((x/${k})^(${n}))/(1 + ((x/${k})^(${n})))`, `1/(1 + ((x/${k})^(${n})))`], ['#k', '#n'], [[0, 10], [0, 1]])
plot('#hill-graph-prod', (k, n, b0) => [`(${b0}) * ((x/${k})^(${n}))/(1 + ((x/${k})^(${n})))`, `(${b0})/(1 + ((x/${k})^(${n})))`], ['#k-prod', '#n-prod', '#b0'], [[0, 10], [0, 10]])