Heun's Method for Second Order ODE (Eng Maths)

  • Engineering
  • Thread starter jisbon
  • Start date
  • #1
462
30

Homework Statement:

-

Relevant Equations:

-
Question:
1596080237600.png

So I got around on doing this example, and I'm pretty sure I messed up somewhere, would appreciate if someone could point out what I did wrongly.
1) For any second ODE, I should let:
##y_{1}= y ## and ##y_{2}= y' ##
Hence,
##y_{1}'= y' = y_{2} ## and ##y_{2}'= y'' = xy(x)+x^2-y(x) = xy_{1}+x^2-y_{1} ##
Thus I have 2 functions:
##f_{1}(x,y_{1},y_{2}) = y_{2}## and## f_{2}(x,y_{1},y_{2}) = xy_{1}+x^2-y_{1}##

Heun's method then states that:
1596080778823.png
I will assume I have to do out a and b for both functions?
 

Answers and Replies

  • #2
pasmith
Homework Helper
1,832
491
Yes.
[tex]
\begin{align*}
a_i &= hf_i(x_n,y_{1n}, y_{2n}) \\
b_i &= hf_i(x_{n+1}, y_{1n} + a_1, y_{2n} + a_2)
\end{align*}
[/tex]
 

Related Threads on Heun's Method for Second Order ODE (Eng Maths)

Replies
2
Views
5K
  • Last Post
Replies
3
Views
927
  • Last Post
Replies
2
Views
829
Replies
0
Views
7K
  • Last Post
Replies
4
Views
687
Replies
3
Views
4K
  • Last Post
Replies
11
Views
2K
Replies
8
Views
2K
Replies
9
Views
1K
Top