I am doing a Runge-Kutta problem for unmarked homework, and have to do a second order taylor expansion of the function
$$f(x+\tfrac{2h}{3}, y + \tfrac{2h}{3}f(x+\tfrac{h}{3}, y + \tfrac{h}{3}f(x,y)))$$
for which I managed to get
$f(x,y) +\frac{2h}{3}\frac{\partial f}{\partial x} + \frac{2h}{3}\frac{\partial f}{\partial y} f(x,y) + ...\quad$ but the final terms seem to be elusive to me
I have some inkling that it's $\frac{h^2}{9}\frac{1}{2!}\frac{\partial^2f}{\partial x^2}+\frac{h^2}{9}\frac{1}{2!}\frac{\partial^2f}{\partial y^2}f^2(x,y)$ but when using these numbers for the rest of the question, I do not get the answer I require.
Thanks for the help
Note that the question says "Restrict yourself to the case of a single first-order ODE, that is, to the case m = 1"