Browse files

Added Pn(x) =

  • Loading branch information...
1 parent c4d1430 commit 36048a8f8eb9e92fd02beadb5f6b6fe57731cfbf @gnuvince committed Mar 30, 2011
Showing with 2 additions and 0 deletions.
  1. +1 −0 rapport.tex
  2. +1 −0 tp3-1.c
View
1 rapport.tex
@@ -69,4 +69,5 @@ \subsection{Réponse aux questions}
\includegraphics[scale=0.8]{delta.pdf}
+
\end{document}
View
1 tp3-1.c
@@ -162,6 +162,7 @@ double f(double x) {
int main(void) {
for (size_t i = 1; i <= 5; ++i) {
Polynomial *p = InterpolationPolynomialNew(&f, i, START, END);
+ printf("P%d(x) = ", (int)i);
InterpolationPolynomialPrint(p, START, END);
PolynomialFree(p);
}

0 comments on commit 36048a8

Please sign in to comment.