Both the Gini coefficient and the variance are measures of statistical dispersion. We are then motivated to find the relationship between them. It turns out that there is a neat mathematical relationship between them.
The aliens intiated their attack to the earth! They shoot bullets with mass m and speed v from a far-awar planet. To defend, humans built a field U=α/r that can repel the bullets. What regions are safe? The answer turns out to be the interior of a circular paraboloid.
Denote the length distribution of one’s hair to be f(l,t), where l is hair length, and t is time. Considering that each hair may be lost naturally from time to time (there is a probability of λdt for each hair to be lost within time range from t to t+dt) and then restart growing from zero length, how will the length distribution of hair evolve with time? It turns out that we may model it with a first-order PDE.
By recursively integrating according to xn+1(t):=∫t0tf(xn(s),s)ds+C from x0(t0):=C, we can get the solution of the ODE
x′(t)=f(x(t),t) with initial conditions x(t0)=C as the limit of the sequence of functions.
The Hölder mean of x with weights w and a parameter p is defined as Mp,w(x):=(w⋅xp)p1, and the value at p=−∞,0,+∞ are defined by the limits. We can prove using Jensen’s inquality that the Hölder mean increases as p increases. This property can be used to prove HM-GM-AM-QM inequalities.
By using power series, we can prove that the problem of solving linear homogeneous ODE with constant coefficients can be reduced to the problem of solving a polynomial with those coefficients. This article illustrates this point in detail, but it uses a very awful notation…
To heat an object with hot water, if we divide the water into more parts and use each part to heat the object one after another, the final temperature will be higher. If the number of parts tends to infinity, then the final temperature will tend to the limit T+e−C0C(T0−T), where T is the initial temperature of the object, T0 is the temperature of the hot water, C is the heat capacity of the object, and C0 is the heat capacity of the hot water.
We may generalize Euler–Lagrange equation to higher dimensional optimization problems: find a function defined inside a region to extremize a functional defined as an integral over that region, with the constraint that the value of the function is fixed on the boundary of the region.
Continuing my last work of simulating a mechanical system using RGSS3, I made a new version using rpg_core.js, the game scripting system shipped with RPG Maker MV. This version is live on web!
Hamiltonian mechanics gives us a good way to simulate mechanical systems as long as we can get its Hamiltonian and its initial conditions. I implemented this simulation in RGSS3, the game scripting system shipped with RPG Maker VX Ace.