Aufgabe3.tex 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. \section*{Aufgabe 3}
  2. \begin{table}[H]
  3. \begin{tabular}{l|l|l|l|l}
  4. $f_i$ & 8 & 3 & 4 & 8 \\ \hline
  5. $x_i$ & -1 & 0 & 1 & 3 \\
  6. \end{tabular}
  7. \end{table}
  8. \subsection*{Teilaufgabe i}
  9. \begin{align}
  10. p(x) = \sum_{i=0}^3 f_i \cdot L_i(x)
  11. \end{align}
  12. mit
  13. \begin{align}
  14. L_0(x) &= \frac{(x-x_1)(x-x_2)(x-x_3)}{(x_0 - x_1)(x_0-x_2)(x_0-x_3)}
  15. = \ldots = \frac{x^3 - 4x^2 + 3x}{-8} \\
  16. L_1(x) &= \frac{x^3 - 3x^2 - x + 3}{3} \\
  17. L_2(x) &= \frac{x^3 - 2x^2 - 3x}{-4} \\
  18. L_3(x) &= \frac{x^3 - x}{24}
  19. \end{align}
  20. \subsection*{Teilaufgabe ii}
  21. Anordnung der dividierten Differenzen im so genannten Differenzenschema:
  22. \begin{table}[H]
  23. \begin{tabular}{llll}
  24. $f[x_0]=f_0=8$ & ~ & ~ & ~ \\
  25. $f[x_1]= 3$ & $f[x_0,x_1] = \frac{f[x_0] - f[x_1]}{x_0-x_1} = -5$ & ~ & ~ \\
  26. $f[x_2] = 4$ & $1$ & $3$ & ~ \\
  27. $f[x_3] = 8$ & $2$ & $\frac{1}{3}$ & $- \frac{2}{3} $ \\
  28. \end{tabular}
  29. \end{table}
  30. Also:
  31. \begin{align}
  32. p(x) &= f[x_0] + f[x_0,x_1] \cdot (x-x_0) + f[x_0, x_1, x_2] \cdot (x-x_0) \cdot (x-x_1) \\ & + f[x_0, x_1, x_2, x_3] \cdot (x-x_0) \cdot (x-x_1) \cdot (x-x_2) \\
  33. &= 8 - 5 \cdot (x-x_0) + 3 \cdot (x-x_0) \cdot (x-x_1) \\ & - \frac{2}{3} \cdot (x-x_0) \cdot (x-x_1) \cdot (x-x_2)
  34. \end{align}