RK2 (Heun's) method for second order ODE

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 个评论

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?

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Programming 的更多信息

标签

尚未输入任何标签。

评论:

2017-7-24

Community Treasure Hunt

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

Start Hunting!

Translated by