Hi my friends.
I am new on Function command almost, I have problem that I have to use the Runga-Kutta method to solve it.
I am trying to understand this code, But when I run it, It asks me some variables to input.
Where should put these variables or inputs to run the code and observe the T and Y lists.
I would like to ask your help to guide me in this problem.
fprintf('Step 0: t = %12.8f, w = %12.8f\n', t, w);
w = w + (k1+2*k2+2*k3+k4)/6;
fprintf('Step %d: t = %6.4f, w = %18.15f\n ', i, t, w);