MathCastle
Differential EquationsChallengeNumerical Methods: Euler to Runge–Kutta

Numerical Methods: Euler to Runge–Kutta · Challenge problem

A two-stage explicit Runge–Kutta method has the form k1=f(tn,yn)k_1 = f(t_n, y_n), k2=f(tn+ch, yn+chk1)k_2 = f(t_n + c h,\ y_n + c h k_1), yn+1=yn+h(ak1+bk2)y_{n+1} = y_n + h(a k_1 + b k_2). Take c=13c = \dfrac{1}{3}. For which value of aa (with the matching bb) is the method second-order accurate, that is, does one step agree with the Taylor expansion of the exact solution through the h2h^2 term for every smooth ff? Express your answer as a common fraction.