Heun's method question

  • #1
61
0

Main Question or Discussion Point

Hi there,

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

y(new) = y(old) + 0.5(k1 + k2)Δh

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(told) + a((u(told)+au(told)Δ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.
 

Answers and Replies

  • #2
61
0
I figured it out. This thread can be deleted.
 

Related Threads for: Heun's method question

  • Last Post
Replies
4
Views
6K
Replies
1
Views
880
Replies
4
Views
3K
  • Last Post
Replies
0
Views
1K
Replies
3
Views
884
Replies
3
Views
2K
  • Last Post
Replies
4
Views
3K
Replies
0
Views
2K
Top