RK2 (Heun's) method for second order ODE

5 views (last 30 days)
Sean Malinowski
Sean Malinowski on 22 Jul 2017
Commented: Carl on 24 Jul 2017
I have very little MATLAB experience and have suddenly been assigned a large project requiring that I create an Improved Euler's method code (Heun's method) to solve a second order ODE. I know that I must convert the second order ODE to a system of first order ODEs and program the code this way, but have no idea where to even begin. I am given the following function:
  1 Comment
Carl
Carl on 24 Jul 2017
Hi Sean, I'm unable to see the function you mentioned. Can you try adding it again? Also, can you clarify what your MATLAB code should look like, in terms of expected inputs/outputs?

Sign in to comment.

Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Tags

No tags entered yet.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!