## Latest post

Jul 25, 2024, 01:46:46

After giving some thoughts, I think something like GitHub issues can be the ultimate form of a #socialmedia platform. One can conveniently refer to other issues using just owner/repo and issue number. One can use issue templates. One can use Markdown as well as inserting multimedia contents in comments. One can react with an emoji. These features easily beat Reddit and Mastodon. It only misses normal social platform features like exploration and tagging.

## Articles

• ### Using ntfy to warn me when my computer is discharging

I use udev and systemd to send a notification to my phone via ntfy automatically whenever my laptop is discharging.

• ### How to construct mechanics in higher dimensions?

We can derive the equation of motion for mechanical systems in a Galileo universe with $\iota$ time dimensions and $\chi$ space dimensions by generalizing the principle of relativity and Hamilton’s principle.

Suppose a supersonic airplane has Mach number $M$. It flies horizontally. At some time, it flies past over your head at height $h$. Then, the distance between you and it when you have just heard it is $Mh$.

• ### Finding curvature radius physically

Sometimes the curvature radius of a curve can be found by using physical methods although it seems that you must use calculus to find it. In this article, the curvature radius of the curve $x^2=2py$ at the point where the curvature radius is smallest is found by using physical methods without using calculus (with only high school knowledge). The answer is that the smallest curvature is exactly $p$, and the point with smallest curvature is the vertex.

• ### A whirling point charge

In the vacuum, inside a fixed ring of radius $R$ with fixed charge $Q$ uniformly distributed, there is a point charge with charge $q$ and mass $m$ moving in the plane of the ring due tue the electrostatic force. It moves in the small region around the center of the ring, and the motion is periodic along a closed curve. The area of the region enclosed by the curve is $S$. Denote the distance from the center to the point charge as $r$, and $r\ll R$. Find the magnetic induction $B$ at the center of the ring.

• ### Solving ODE by recursive integration

By recursively integrating according to $x_{n+1}\!\left(t\right)\coloneqq\int_{t_0}^tf\!\left(x_n\!\left(s\right),s\right)\,\mathrm ds+C$ from $x_0\!\left(t_0\right)\coloneqq C$, we can get the solution of the ODE $x'\!\left(t\right)=f\!\left(x\!\left(t\right),t\right)$ with initial conditions $x\!\left(t_0\right)=C$ as the limit of the sequence of functions.

• ### An example of non-uniform elements: heavy elastic rope

To illustrate the concept about non-uniform elements, we study a simple problem: suppose a uniform heavy elastic rope has mass $m$, original length $L_0$, and stiffness $k$, and find the mass distribution and length of it when hung vertically. We can use the element method to solve this problem, but the elements are non-uniform in terms of length. The elements add up to get the total length $L=\frac{mg}{2k}+L_0$.

• ### Kinetic energy, momentum, and angular momentum of rigid bodies

In this article, we will find that the inertia matrix naturally appears when we calculate the kinetic energy $T$ or the angular momentum $\mathbf M$ of a rigid body. Then, we introduce the concept of principal inertia $\mathbf J_{\mathrm{pri}}$. We also study how the inertia matrix changes under translations and rotations and how those transformations may lead to conclusions that can help us simplify the calculation of inertia matrices.

• ### Hölder means inequality

The Hölder mean of $\vec x$ with weights $\vec w$ and a parameter $p$ is defined as $M_{p,\vec w}\!\left(\vec x\right)\coloneqq\left(\vec w\cdot\vec x^p\right)^{\frac 1p}$, and the value at $p=-\infty,0,+\infty$ 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.

• ### A polynomial whose sum of coefficients is a factorial

The function $\left(1-z\right)^{n+1}\sum_{k=1}^\infty k^nz^k$ is a polynomial of degree $n$ w.r.t. $z$, and the sum of its coefficients is $n!$. This turns out to be properties of Eulerian numbers.