The purpose of the language is simulation of dynamic mathematical models of systems, given as set of ordinary differential equations.
It is a DOS based software occasionally it is slightly modified so it can be run under actual versions of Microsoft Windows.
When it terminates, SIMCOS takes control again and can display results as a graphic plot.
The "heart" of the executable is function INTEG which can solve differential equations using one of several numerical methods.
Requested calculated results are written into the file and the whole procedure is repeated until the termination condition is satisfied.
We will simulate Padé approximation of 2nd order and 4th order: Input signal is a unit step, communication interval equals 0.01s, length simulation run is 5s, results will be compared with output of built-in discrete function delay (it requires additional array (del in our case) of appropriate size).