this is for holding javascript data
João Paulo Pesce edited 1.tex
about 10 years ago
Commit id: 27f6ec28a1fb0f1ab1b9412fd7ae518be25f1b42
deletions | additions
diff --git a/1.tex b/1.tex
index eab8c69..8453c14 100644
--- a/1.tex
+++ b/1.tex
...
For example, if an answer is 10 or 20 meters away from the right place, the player should get very similar scores. And if the answer is 3000 meters of 3500 meters away he should also get very similar scores, even thought the same difference of 500 meters in the other situation would make a huge difference.
So we come up with the following
sigmoid function, inverse-sigmoid-like function (Z-shaped), where $S$ is the score and $d$ the distance between the right place and the player's answer:
\begin{equation}
S = \frac{100}{1+{d^4}}