RK4 {genSEIR} | R Documentation |
Runge-Kutta 4th Order Method to Solve Differential Equation
RK4(Y, A, K, dt)
Y |
initial values for seven states |
A |
the matrix A that is found in: dY/dt = A*Y + F |
K |
the zero matrix for the seven states |
dt |
the time step. This oversamples time to ensure that the algorithm converges |
ordinary differential equation result for the seven states
Selcuk Korkmaz, selcukorkmaz@gmail.com