JSFiddle - React, Tailwind, and code Playground

by askhflajsf

HTML

<h4>For the years 2017, 2018, 2019 and 2020, how'd I go about calculating an exponential growth for 2018 and 2019, from 5,000 in 2017 to 150,000 in 2020?</h4>
<p>You wish for a function of the form f(x) = a*b^x, where f(2017) = 5000 and f(2020) = 150000, i.e. a*b^2017 = 5000 and a*b^2020 = 150000. This is a system of simultaneous equations in a and b that you can solve.</p>
<p>Or if you want the numbers to be more manageable, you might prefer to say that f(0) = 5000 and f(3) = 150000.</p>
<h3>Exponentially grown between 2017 and 2020</h3>
<ul>
  <li>2018:</li>
  <li>2019:</li>
</ul>