In Runge Kutta, we are given a F(x,y) array of stings to write right side of equation. But my problem is I have coefficients that I want to vary, and thus have just one control to change value in each equation. How would F(x,y) box know the value of these coefficients?
These are the equations
dC(3) = 1/vg*(W*Koh - Ku_oh*C(1)*C(3) - Ks_oh*C(2)*C(3) - Koh_oh*C(3)^2);
dC(1) = 1/vg*(-Ku_oh*C(1)*C(3));
dC(2) = 1/vg*(A1*Ku_oh*C(1)*C(3) - Ks_oh*C(2)*C(3) - (Ds/r^2)*(C(2) - C(6)/Hs));
dC(4) = 1/vg*(Ko3*W - (Do3/r^2)*(C(4) - C(5)/Ho3) - Ko3_o3*C(4)^2);
dC(5) = 1/vw*((Do3/r^2)*(C(4) - C(5)/Ho3) - Ksl_o3l*C(
6)*C(5) - Ko3l_o3l*C(5)^2);
dC(6) = 1/vw*((Ds/r^2)*(C(2) - C(6)/Hs) - A2*Ksl_o3l*C(6)*C(5));
Where Ks', Ds', Hs' and As' have constant value for each run. So how can i have centralized control on these coefficients, and still use runge kutta.