Latest post

May 14, 2025, 14:58:53

After using computers for all so many years, for the first time, the Insert key was actually useful when I was editing a file. I always thought the only reason it exists is for causing small headaches when my dumb fingers accidentally touch it.

The key was used when I was editing a string in a binary file, and I wanted to make sure that the offsets of all the contents afterward were not affected.

follow me on Mastodon

Articles

  • 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 x2=2pyx^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 pp, and the point with smallest curvature is the vertex.

  • A whirling point charge

    In the vacuum, inside a fixed ring of radius RR with fixed charge QQ uniformly distributed, there is a point charge with charge qq and mass mm 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 SS. Denote the distance from the center to the point charge as rr, and rRr\ll R. Find the magnetic induction BB at the center of the ring.

  • Solving ODE by recursive integration

    By recursively integrating according to xn+1 ⁣(t)t0tf ⁣(xn ⁣(s),s)ds+Cx_{n+1}\!\left(t\right)\coloneqq\int_{t_0}^tf\!\left(x_n\!\left(s\right),s\right)\,\mathrm ds+C from x0 ⁣(t0)Cx_0\!\left(t_0\right)\coloneqq C, we can get the solution of the ODE x ⁣(t)=f ⁣(x ⁣(t),t)x'\!\left(t\right)=f\!\left(x\!\left(t\right),t\right) with initial conditions x ⁣(t0)=Cx\!\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 mm, original length L0L_0, and stiffness kk, 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=mg2k+L0L=\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 TT or the angular momentum M\mathbf M of a rigid body. Then, we introduce the concept of principal inertia Jpri\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 x\vec x with weights w\vec w and a parameter pp is defined as Mp,w ⁣(x)(wxp)1pM_{p,\vec w}\!\left(\vec x\right)\coloneqq\left(\vec w\cdot\vec x^p\right)^{\frac 1p}, and the value at p=,0,+p=-\infty,0,+\infty are defined by the limits. We can prove using Jensen’s inquality that the Hölder mean increases as pp increases. This property can be used to prove HM-GM-AM-QM inequalities.

  • A polynomial whose sum of coefficients is a factorial

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

  • The image of a circular object through a thin lens

    The image of a circle with radius rr and centered at C(2f,0)C\left(-2f,0\right) through a thin lens at x=0x=0 with focal length ff and centered at O(0,0)O\left(0,0\right) is a conic section with the focus being (2f,0)\left(2f,0\right), the directrix being line x=fx=f, and the eccentricity being rf\frac rf.

  • The point on the circle farthest to two lines

    Suppose PP is a point on the circle C\odot C. When is the sum of distances from PP to two edges of O\angle O extremal? It turns out to be related to angle bisectors (the intersections of C\odot C and the bisector of O\angle O or its adjacent supplementary angle are extremals), while the edge cases (at the intersections of C\odot C and edges of O\angle O) are a little tricky: we need to use the bisectors to divide the plane into four quadrants, pick the two quadrants where the line intersecting C\odot C at PP lies, translate the region to make it center at CC, and see whether PP is inside the translated region.

  • Typesetting math in emails

    After some comparison among solutions, I use KaTeX to typeset math in my emails.

subscribe via RSS

Gitalking ...