João Paulo Pesce edited 3.tex  about 10 years ago

Commit id: 87582c0a8e6ed117f247d79aae30d3e27f7c904d

deletions | additions      

       

That looks good. At about 2km, scores start to get quite low (25) and by $\sim$4km the user will get almost no points. That's pretty reasonable for a city the size of Belo Horizonte, but if you take a really small city, getting 25 points for a 2km distance might be just too much. So let's adjust the score based on the size of the city.   Suppose $A_{\mbox{bh}}$ is Belo Horizonte's area, we can create a coefficient $\alpha=A_{\mbox{city}}/A_{\mbox{bh}}$. As the value of $\alpha$ increases, more decreases, less  points should be awarded to the user. So, the same way we did for easiness, we also divide $d$ by this coefficient, but since it represents an area (which follows the \href{https://en.wikipedia.org/wiki/Square-cube_law}{square cube law}), we take it's square root first. Which leads us to: \begin{equation}  S = \frac{100}{1 + \left(\frac{d}{e\sqrt{\alpha}}\right)^4}