Simple robot
Life has become a bit boring, and I had to find ways to make it more fun. That's how a primitive robot appeared, reacting to light. The simplest construction.
Method of molecular dynamics
The MD method is suitable for a variety of classical problems (it can be used in mechanics, thermodynamics, etc.). The distinctive feature of MD is the fact that classical mechanics is used to describe the motion of particles. Interatomic forces can be represented in the form of classical potential forces (as the gradient of the potential energy of the system).
Building bubbles, squares, etc. (QT, similar to TChart Bubbles)
It so happened that there is no ready-made component for drawing bubbles in QwtPlot - like, for example, in TChart from Borland (Delphi). But it's no problem. All this can be done manually, and it's not very difficult.
Building histograms (QT)
Building histograms in QT is done using Qwt. The logic of building them is similar to building graphs. (First, I suggest reading this.) Let's consider a simple example of building a histogram using QwtPlotHistogram.
Building graphs (QT)
Unfortunately, in QT there is no convenient component TChart (from Borland, for Delphi/Builder). But there is a good alternative - Qwt. There should be no problems with adding graphs and histograms, but sometimes (depending on the task) there may be difficulties with bubbles. But not now. Let's start with regular graphs.
About Random Numbers
Very often, when modeling physical processes, it is necessary to implement a random number generator (or simply "random"). Let's start with the basics. In fact, there is no perfect, "correct" random number generator. To some extent, this task can be performed by a girl, as female logic is also a random generator (and a pretty good one). But we are interested in implementing it in QT.