Skip to content

Ocean of Math

  • Ocean Regions
    • Continental Shelf
    • Continental Slope
    • Abyss
  • Archipelagos
    • Numerics
    • Magic: The Gathering
  • About
  • Home
  • Numerics

Category: Numerics

Posts on numerical analysis/PDE

All Finite-Difference Formulas for All Derivatives

Posted on January 23, 2023May 14, 2025 By MathFish
Continental Slope, Numerics

A previous post used the typical series-expansion-plus-linear-algebra approach for finding finite-difference formulas to derive approximations to the first derivative of any desired order of accuracy. If you’ve ever used that method yourself, you probably know how tedious it is, and that post doesn’t make it look much less so. On top of that, for all … Read More “All Finite-Difference Formulas for All Derivatives” »

Notes on the Derivation of Ridders’ Method

Posted on July 11, 2022January 9, 2024 By MathFish
Continental Shelf, Numerics

Ridders’ method is a single-variable root-finding method that is more efficient than the basic regula falsi method. The formula is easy enough to find online (e.g. the first link), but its derivation is not. This post fills in the blanks. Suppose the function $f$ has a zero between $x_L$ and $x_R$, i.e. $f(x_L)f(x_R) < 0$. … Read More “Notes on the Derivation of Ridders’ Method” »

Central Difference Formulas

Posted on May 31, 2021May 31, 2021 By MathFish
Continental Slope, Numerics

The first derivative of an analytic function can be estimated by: $$\displaystyle h\frac{df}{dx}\Bigg|_{x=0} \approx -\frac{1}{2}f(-h) + \frac{1}{2}f(h) $$ where $h$ is a small distance. This is the common central difference formula; a more accurate but less frequently seen one is: $$\displaystyle h\frac{df}{dx}\Bigg|_{x=0} \approx \frac{1}{12}f(-2h) – \frac{2}{3}f(-h) + \frac{2}{3}f(h) – \frac{1}{12}f(2h) $$ This formula uses two … Read More “Central Difference Formulas” »

Source of the source: Pressure in the axisymmetric momentum equation

Posted on April 16, 2021April 16, 2021 By MathFish
Continental Slope, Numerics

Consider the equation for conservation of momentum in an inviscid flow, first in differential form: $$\displaystyle \frac{\partial}{\partial t} (\rho\vec{u}) = -\nabla\cdot(\rho\vec{u}\vec{u}) – \nabla P $$ and then integrated over an arbitrary control volume $\Omega$, using the divergence theorem on the momentum term and the gradient theorem on the pressure term: $$\displaystyle \frac{d}{dt} \int_\Omega \rho\vec{u}\,dx = … Read More “Source of the source: Pressure in the axisymmetric momentum equation” »

Recent Posts

  • Sherman-Morrison-Woodbury for Determinants
  • Polytope Identities from Vector Calculus
  • The Exponential and Logarithm for Dual Quaternions
  • What is the Basic Kinematic Equation?
  • Numbers With Nothing In Common

Recent Comments

    Categories

    • Abyss
    • Continental Shelf
    • Continental Slope
    • Linear Algebra
    • Magic: The Gathering
    • Numerics
    • Physics
    • Uncategorized
    • What is…

    Copyright © 2025 Ocean of Math.

    Theme: Oceanly by ScriptsTown