Code: Select all
Code, edit and compile here:
\fbox{$\begin{array}{l}Given\; the\; vectors\; {\bf p}\; and\; {\bf n}\; as\; input,\; and\;the\;function\; {\sl f},\\ find\; the\; scalar\; \lambda\; that\; minimizes\; f({\bfp}+\lambda {\bf n}). \\Replace\; {\bf p}\; by\; {\bf p} + \lambda {\bfn}.\; Replace\; {\bf n}\; by\; \lambda {\bf n}. \end{array}$}