Heun's method: Difference between revisions

Content deleted Content added
No edit summary
Line 46:
:<math>y_{i+1} = y_{i} + \frac{1}{2} h (Slope_{left} + Slope_{right})</math>
 
:<math>y_{i+1} = y_{i} + \frac{1}{2} h (f(x_i, y_i) f(x_i + h, y_i + hf(x_i, y_i)))</math>
or
:<math>y_{i+1} = y_{i} + \frac{h}{2}(f(x_i, y_i) + f(x_i + h, y_i + hf(x_i, y_i)))</math>