The 4th order Runge-Kutta method was used to integrate the equations of motion for the system, then the pendulum was stabilised on its inverted equilibrium point using a proportional gain controller and linear quadratic regulator.
Computing the trajectory of a projectile moving through the air, subject to wind and air drag.
Explaining the concept and simulating gravitational slingshot of a spacecraft passing a planet.
Simulates the simple pendulum and damped simple pendulum
The Jacobi, Gauss-Seidel and Successive overrelaxation (SOR) methods are introduced and discussed with the Poisson equation as an example.
Solving fixed-point problems using the Fix-Point Iteration method.
An introduction to the compressible Euler equations and methods for solving them numerically.
Using a forward-shooting method to determine the eigenenergies and eigenfunctions of an asymmetric potential in one dimension.
Using Newton's method to calculate the band structure for the simple Dirac comb potential in one dimension.
Using the method of forward shooting to determine numerically the eigenenergies of the quantum harmonic oscillator in one dimension.
Computing planet Mars' atmospheric pressure profile from its temperature profile.
Analyzing sloshing using a numerical approach based on a linear model, which reduces the problem to a Steklov eigenvalue problem.
Applying the fourth order Runge-Kutta method and the adaptive step size Runge-Kutta method to calculate the trajectories of three bodies.
Applying the explicit and implicit Euler methods and the fourth order Runge-Kutta method to calculate the trajectory of the Earth around the Sun.
Making use of the Fortran to Python package F2PY which enables creating and compiling a Fortran routine before converting it to a Python Module, which can be imported to any Python script.
Solving a first-order ordinary differential equation using Runge-Kutta methods with adaptive step sizes.
Solving a first-order ordinary differential equation using the Runge-Kutta method.
Solving a first-order ordinary differential equation using the implicit Euler method (backward Euler method).
Solving a first-order ordinary differential equation with Euler's method.
Determining a root with the Newton-Raphson algorithm.
A simple physical model that approximates the interaction between a pair of neutral atoms or molecules.
Determining a root using the bisection method.
Numerical integration using the trapezoidal and Simpson's rules.