## Archive of posts with tag “ode”

• ### 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.

• ### Solving linear homogeneous ODE with constant coefficients

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…

• ### Simulating a mechanical system using rpg_core.js

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!

• ### Simulating a mechanical system using RGSS3

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.

• ### The concentration change of gas in reversible reactions

A reversible elementary reaction takes place inside a closed, highly thermally conductive container of constant volume, whose reactants are all gases. Given the reaction equations and the reaction rate constants, a natural question to ask is how the concentration of each gas changes w.r.t. time. In this article, I will answer this question by proposing a general approach to solve it.