1. Feladat
2. Feladat
3. Feladat
(1) + (2) - 2*(3)
4. Feladat
(1) + 2*(2)
(1) + 2*(2) - 3(3)
tehát és ekkor és így tényleg másodrendű az approximáció
6. Feladat
related: NumMod 1
Jun 25, 20253 min read
(1) + (2) - 2*(3)
f(x+h)+f(x−h)−2f(x)=h2f′′(x)+O(h4) ⟹f′′(x)=h2f(x+h)+f(x−h)−2f(x)+O(h2)(1) + 2*(2)
f(x+2h)+2f(x−h)=3f(x)+3h2f′′(x)+f′′′(x)+O(h4)(1) + 2*(2) - 3(3)
f(x+2h)+2f(x−h)−3f(x)=3h2f′′(x)+f′′′(x)+O(h4) f′′(x)=3h2f(x+2h)+2f(x−h)−3f(x)−f′′′(x)+O(h2)tehát α=1 és β=−3 ekkor −(α+β)=−(1−3)=−(−2)=2 és így tényleg másodrendű az approximáció
related: NumMod 1