[Scilab-users] Corona modelling
Tim Wescott
tim at wescottdesign.com
Mon Mar 30 02:51:17 CEST 2020
This will be a straightforward application of the ODE solver.
Type "help ode" for more detail.
You'll make a function that takes the vector x = [S; I; R] as an
argument and returns [S'; I'; R']. Then you'll call that function with
some starting x and let it play out.
You can speed up computation if you provide the Jacobian of f as a
function -- if you don't, the solver will calculate it at each time
step.
On Mon, 2020-03-30 at 02:14 +0200, Heinz Nabielek wrote:
> Colleagues:
>
> is there an straightforward Scilab approach for solving the three
> coupled nonlinear differential equations of first order given by the
> Standard Model of Epidemics?
>
>
> S= number Susceptible: S'=-aSI
> I= number Infected: I'=aSI - bI
> R= number Recovered: R'=bI
> whereby 'a' is the transmission coefficient, 'b' the recovery factor
> (after Reed-Frost 1928).
> Initial values for S, I, R are available.
>
> Thank you
> Heinz
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>
>
--
Tim Wescott
www.wescottdesign.com
Control & Communications systems, circuit & software design.
Phone: 503.631.7815
Cell: 503.349.8432
More information about the users
mailing list