diff --git a/course/corrections/ex3_cor_multiple_shooting_bsb.ipynb b/course/corrections/ex3_cor_multiple_shooting_bsb.ipynb index f947744e6caae6d70270f66441574b863eff9a01..1247bdc62163c45fee45b1f8bd6f31ad118c84f3 100644 --- a/course/corrections/ex3_cor_multiple_shooting_bsb.ipynb +++ b/course/corrections/ex3_cor_multiple_shooting_bsb.ipynb @@ -365,7 +365,6 @@ "outputs": [], "source": [ "def dshoot(p0, dp0, e, tf):\n", - "# ds = 0 ### TO COMPLETE\n", " (xf, dxf), _ = f(t0, x0, (p0, dp0), tf, e)\n", " ds = dxf\n", " return ds\n", @@ -894,7 +893,7 @@ " \\begin{pmatrix}\n", " x(t_1, t_0, x_0, p_0, u_-) \\\\\n", " p(t_1, t_0, x_0, p_0, u_-) \\\\\n", - " x(t_f, t_2, x_2, p_2, u_+)\n", + " x(t_f, t_2, x_2, p_2, u_+) - 1/2\n", " \\end{pmatrix},\n", "$$\n", "\n", diff --git a/course/exercices/ex3_multiple_shooting_bsb.ipynb b/course/exercices/ex3_multiple_shooting_bsb.ipynb index 5c51de76d8ce033aea316f0ae4b88a1a53e7b9e6..4f67b7703d53564a613a0cd34a6ce580202200b5 100644 --- a/course/exercices/ex3_multiple_shooting_bsb.ipynb +++ b/course/exercices/ex3_multiple_shooting_bsb.ipynb @@ -708,7 +708,7 @@ " \\begin{pmatrix}\n", " x(t_1, t_0, x_0, p_0, u_-) \\\\\n", " p(t_1, t_0, x_0, p_0, u_-) \\\\\n", - " x(t_f, t_2, x_2, p_2, u_+)\n", + " x(t_f, t_2, x_2, p_2, u_+) - 1/2\n", " \\end{pmatrix},\n", "$$\n", "\n",