diff --git a/Assignments/A2/A2.pdf b/Assignments/A2/A2.pdf index e658e3f1d9bb324e90ac86308a95d6363aa7d3e2..8e9482162d11fdee67985d132ed01effa040d580 100644 Binary files a/Assignments/A2/A2.pdf and b/Assignments/A2/A2.pdf differ diff --git a/Assignments/A2/A2.tex b/Assignments/A2/A2.tex index 0bad33700f317793ead505bf9ca103f5a08c6953..ef92fa23483d66bb5bcb136102017a0da536f90c 100644 --- a/Assignments/A2/A2.tex +++ b/Assignments/A2/A2.tex @@ -608,7 +608,8 @@ None \subsubsection* {Assumptions} -None +For plotting the user will select the number of subdivisions to be small enough +that there will not be an interpolation problem with the end points. \subsubsection* {Access Routine Semantics} @@ -620,10 +621,13 @@ None \item exception: $( |X| \neq |Y| \Rightarrow \mbox{SeqSizeMismatch})$ \end{itemize} -\noindent PlotCurve($c$) +\noindent PlotCurve($c, n$) \begin{itemize} \item transition: modify win so that it displays an x-y graph of the curve c - between c.minD to c.maxD for evaluating c at the points in between. + between c.minD to c.maxD for evaluating $c$ at $n$ equally spaced points in + between. For quadratic interpolation the points c.minD and c.maxD do not have + to be plotted, since c.eval() is problematic for these points. For linear + interpolation c.maxD does not have to be plotted. \item exception: none \end{itemize} \newpage