My question is quite simple, but the more I look at it, the less content I am. My question is how to do a RK4 method for $y'=y$. At first I would assume the following:
$$k_1=y_n$$
$$k_2=y_n+\frac{h}{2}k_1$$
and right here you can actually start to see part of the issue that I have, namely that it seems in the second equation we are adding apples and oranges since $h$ is not unitless. Nonetheless, in continuing onward:
$$k_3=y_n+\frac{h}{2}k_2$$
$$k_4=y_n+h\ k_3$$
and now put all together,
$$y_{n+1}=y_n+\frac{h}{6}(k_1+2k_2+2k_3+k_4)$$.
So for all of these it seems as though we are adding apples and oranges (my case is exactly this pretty much, finding position by taking the derivative of the velocity). Furthermore, in this last equation to solve for the next step, $y'$ does not appear in it at all, which to me seems really weird (not right at all). To clarify why I am confused on this point, is because normally the first step is an Euler Step, in which case the whole thing put together would look like:
$$y_{n+1}=y_n+h\ y'_{n}$$
Part of the reason I bring this up is because I am given $y'$ and need to now map it's derivative (just like the above Euler Method). I have used RK4 many times on more complicated equations, but for some reason this one just doesn't seem quite right. Thanks!