diff --git a/guide/pedped_1d.ipynb b/guide/pedped_1d.ipynb index d4c29df..9d91958 100644 --- a/guide/pedped_1d.ipynb +++ b/guide/pedped_1d.ipynb @@ -39,7 +39,7 @@ "with its two parameters $V_0$ and $\\sigma$. Although it is a single-argument\n", "function, the argument $b$ is the semi-minor axis of an ellipse, a 2D object:\n", "\\begin{align}\n", - " 2b &= \\sqrt{||\\vec{r}_{\\alpha\\beta}|| + ||\\vec{r}_{\\alpha\\beta} - v_{\\beta}\\Delta t \\vec{e}_{\\beta}|| - (v_{\\beta}\\Delta t)^2}\n", + " 2b &= \\sqrt{(||\\vec{r}_{\\alpha\\beta}|| + ||\\vec{r}_{\\alpha\\beta} - v_{\\beta}\\Delta t \\vec{e}_{\\beta}||)^2 - (v_{\\beta}\\Delta t)^2}\n", "\\end{align}\n", "as defined in {cite}`helbing1995social` with $\\vec{r}_{\\alpha\\beta} = \\vec{r}_{\\alpha} - \\vec{r}_{\\beta}$. \n", "We can compare this with $2b = \\sqrt{(p + q)^2 - d^2}$ where the\n",