COVID19 Epidemic Modeling: Compartmental Models

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Very interesting and informative. I've been playing around with very simple versions just to get a feel. For me, this model is probably as sophisticated as I can handle right now on this topic.

As a Mathematica novice, the importance of this application is it gives me some sense on how a professional Mathematica programmer architects an application. In any language, it's relatively easy to write toy applications. For more than Toys, much more is required, as this application illustrates.

An example, which I'm sure is common knowledge to anyone with any degree of Mathematica sophistication, is some of the coding for each of the models that I would have never discovered on my own.

In each model definition, he first defines the name of the function to be solved for by a given differential equation as in a particular context. Such as
With[{ TP = ToExpression[Context <> "TP"], ...],  
so that the function TP can be found by Mathematica in other contexts when attempting to execute the function generated by NDSolve.

I'll be going over the code, line by line, learning how Mathematica coding should be done.

lawrencewinkler