You are using the new UI (Beta).Return to the original UI

This page has been automatically translated by machine translation. Please note that translations may not be entirely accurate.

keisanHigh-precision calculations for everyday life and work

Runge–Kutta Method (2nd Order, 2nd-Order ODE)

Manage Bookmarks
Find the solution y=f(x) of the second-order ordinary differential equation y’’=F(x,y,y’) using the 2nd-order Runge–Kutta method. Starting from y0=f(x0), y’0=f’(x0), calculate the solution for x0≦x≦xn.
\(\normalsize y''=F(x,y,y')\hspace{30px} y_0=f(x_0),\ y'_0=f'(x_0) \rightarrow\ y=f(x)\\\)
F(x,y,p(=y'))
x0
Initial conditions
y0
=f(x0) Initial conditions
y'0=p0
=f'(x0) Initial conditions
xn
x0≦x≦xn
[ n]Number of segments
\(\normalsize Runge-Kutta\ method\\ (1)\ y''=F(x,y,y')\hspace{30px} p=y',\ y_0=f(x_0),\ y'_0=f'(x_0) \rightarrow\ y=f(x)\\ (2)\ p_{n+1}=p_n+j_2+{\small O}(h^3)\\\\ \hspace{25px} y_{n+1}=y_n+k_2+{\small O}(h^3)\\\\ \hspace{25px} j_1=hF(x_n,\ y_n,\ p_n)\\ \hspace{25px} k_1=h \cdot p_n \\ \hspace{25px} j_2=hF(x_n+{\large\frac{h}{2}},\ y_n+{\large\frac{k_1}{2}},\ p_n+{\large\frac{j_1}{2}})\\ \hspace{25px} k_2=h ( p_n + {\large\frac{j_1}{2}} )\\ \)

No customer feedback for this calculation yet.

Runge–Kutta Method (2nd Order, 2nd-Order ODE) | Keisan