- #1

- 61

- 0

## Main Question or Discussion Point

Hi there,

in my notes for Heun's method for solving an ODE, I have

y(

And k1 is supposed to be f(y(old)) while k2 is f(y(old) + q11k1Δh) and q11 is 1

So if for example I have a simple differential equation like du/dt = au

It would be du/dt = 0.5(k1 + k2)

du/dt = 0.5(au(t

The first term on the right of the equal is k1, and the term after is k2. What I don't understand is why the entire k2 term is multiplied by

in my notes for Heun's method for solving an ODE, I have

y(

_{new}) = y(_{old}) + 0.5(k1 + k2)ΔhAnd k1 is supposed to be f(y(old)) while k2 is f(y(old) + q11k1Δh) and q11 is 1

So if for example I have a simple differential equation like du/dt = au

It would be du/dt = 0.5(k1 + k2)

du/dt = 0.5(au(t

_{old}) +**a(**(u(t_{old})+au(t_{old})Δt)**)**The first term on the right of the equal is k1, and the term after is k2. What I don't understand is why the entire k2 term is multiplied by

**a**? It's not in any formula so what mistake have I made here. I couldn't really find this in any of my books either, especially since the notation is so different.