diff --git a/Notebooks/Chap06/6_1_Line_Search.ipynb b/Notebooks/Chap06/6_1_Line_Search.ipynb index c51037b..c6efb74 100644 --- a/Notebooks/Chap06/6_1_Line_Search.ipynb +++ b/Notebooks/Chap06/6_1_Line_Search.ipynb @@ -4,7 +4,7 @@ "metadata": { "colab": { "provenance": [], - "authorship_tag": "ABX9TyOfxeJ15PMkIi4geDTRCz3c", + "authorship_tag": "ABX9TyN4E9Vtuk6t2BhZ0Ajv5SW3", "include_colab_link": true }, "kernelspec": { @@ -131,14 +131,15 @@ "\n", " print('Iter %d, a=%3.3f, b=%3.3f, c=%3.3f, d=%3.3f'%(n_iter, a,b,c,d))\n", "\n", - " # Rule #1 If point A is less than points B, C, and D then halve values of B, C, and D\n", + " # Rule #1 If the HEIGHT at point A is less the HEIGHT at points B, C, and D then halve values of B, C, and D\n", + " # i.e. bring them closer to the original point\n", " # i.e. bring them closer to the original point\n", " # TODO REPLACE THE BLOCK OF CODE BELOW WITH THIS RULE\n", " if (0):\n", " continue;\n", "\n", "\n", - " # Rule #2 If point b is less than point c then\n", + " # Rule #2 If the HEIGHT at point b is less than the HEIGHT at point c then\n", " # then point d becomes point c, and\n", " # point b becomes 1/3 between a and new d\n", " # point c becomes 2/3 between a and new d\n", @@ -146,7 +147,7 @@ " if (0):\n", " continue;\n", "\n", - " # Rule #3 If point c is less than point b then\n", + " # Rule #3 If the HEIGHT at point c is less than the HEIGHT at point b then\n", " # then point a becomes point b, and\n", " # point b becomes 1/3 between new a and d\n", " # point c becomes 2/3 between new a and d\n",