Update README.md

Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com>
This commit is contained in:
David Rotermund 2024-01-06 16:00:45 +01:00 committed by GitHub
parent 114a07a707
commit 4834804cfd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,7 +67,7 @@ $f(x) = f(x_i)+f'(x_i)(x-x_i) + f''(x_i)\frac{(x-x_i)^2}{2} + f'''(x_i)\frac{(x-
Substitution shows that some terms vanish
$I_i = f(x_i)\Delta x+f'(x_i)\frac{(x-x_i)^2}{2}\Big|_{x_i-\Delta x/2}^{x_i+ \Delta x/2}+f''(x_i)\frac{(x-x_i)^3}{6}\Big|_{x_i-\Delta x/2}^{x_i+ \Delta x/2} +f'''(x_i)\frac{(x-x_i)^4}{24}\Big|_{x_i-\Delta x/2}^{x_i+ \Delta x/2} + {\cal O}(\Delta x^5) $
$I_i = f(x_i)\Delta x + \left. f'(x_i)\frac{(x-x_i)^2}{2}\right\vert_{x_i-\Delta x/2}^{x_i+ \Delta x/2} + \left. f''(x_i)\frac{(x-x_i)^3}{6}\right\vert_{x_i-\Delta x/2}^{x_i+ \Delta x/2} + \left. f'''(x_i)\frac{(x-x_i)^4}{24}\right\vert_{x_i-\Delta x/2}^{x_i+ \Delta x/2} + {\cal O}(\Delta x^5) $
$I_i = f(x_i)\Delta x+ f''(x_i)\frac{\Delta x^3}{24}+{\cal O}(\Delta x^5)$