What's all this, then?
open-menu closeme
All posts
About
Home
Tags
github twitter linkedin facebook rss
  • The Pegasus and related methods for solving equations

    calendar Jul 6, 2023 · 3 min read · mathematics julia computation  ·
    Share on: twitter facebook linkedin copy

    In the previous post, we saw that a small change to the method of false position provided much faster convergence, while retaining its bracketing.

    This was the Illinois method which is only one of a whole host of similar methods, some of which converge even faster.

    And as a reminder, here's its definition, with a very …


    Read More
  • The Illinois method for solving equations

    calendar Jul 5, 2023 · 6 min read · mathematics julia computation  ·
    Share on: twitter facebook linkedin copy

    Such a long time since a last post! Well, that's academic life for you ...

    If you look at pretty much any modern textbook on numerical methods, of which there are many, you'll find that the following methods will be given for the solution of a single non-linear equation \(f(x)=0\):

    • direct iteration, also known as …

    Read More
  • Ramanujan's cubes

    calendar Apr 3, 2022 · 6 min read · mathematics computation  ·
    Share on: twitter facebook linkedin copy

    This post illustrates the working of Ramanujan's generating functions for solving Euler's diophantine equation \(a^3+b^3=c^3+d^3\) as described by Andrews and Berndt in "Ramanujan's Lost Notebook, Part IV", pp 199 - 205 (Section 8.5). The text is available from Springer.

    Ramanujan's result is that if

    \[ …


    Read More
  • A note on Steffensen's method for solving equations

    calendar Apr 30, 2021 · 2 min read · mathematics computation  ·
    Share on: twitter facebook linkedin copy

    Steffensen's method is based on Newton's iteration for solving a non-linear equation \(f(x)=0\):

    \[ x\leftarrow x-\frac{f(x)}{f'(x)} \]

    Newton's method can fail to work in a number of ways, but when it does work it displays qudratic convergence; the number of correct signifcant figures roughly doubling at each step. …


    Read More
  • Exploring Tanh-Sinh quadrature

    calendar Apr 30, 2021 · 5 min read · mathematics computation  ·
    Share on: twitter facebook linkedin copy

    As is well known, tanh-sinh quadrature takes an integral

    \[ \int_{-1}^1f(x)dx \]

    and uses the substitution

    \[ x = g(t) = \tanh\left(\frac{\pi}{2}\sinh t\right) \]

    to transform the integral into

    \[ \int_{-\infty}^{\infty}f(g(t))g'(t)dt. \]

    The reason this works so well is that the derivative \(g'(t)\) dies away at a …


    Read More
  • High precision quadrature with Clenshaw-Curtis

    calendar Apr 21, 2021 · 5 min read · mathematics computation  ·
    Share on: twitter facebook linkedin copy

    An article by Bailey, Jeybalan and LI, "A comparison of three high-precision quadrature schemes", and available online here, compares Gauss-Legendre quadrature, tanh-sinh quadrature, and a rule where the nodes and weights are given by the error function and its integrand respectively.

    However, Nick Trefethen …


    Read More
  • The circumference of an ellipse

    calendar Apr 10, 2021 · 6 min read · mathematics computation  ·
    Share on: twitter facebook linkedin copy
    Note: This blog post is mainly computational, with a hint of proof-oriented mathematics here and there. For a more in-depth analysis, read the excellent article "Gauss, Landen, Ramanujan, the Arithmetic-Geometric Mean, Ellipses, pi, and the Ladies Diary" by Gert Akmkvist and Bruce Berndt, in The American …
    Read More
  • The Butera-Pernici algorithm (2)

    calendar Jan 6, 2020 · 6 min read · mathematics computation  ·
    Share on: twitter facebook linkedin copy

    The purpose of this post will be to see if we can implement the algorithm in Julia, and thus leverage Julia's very fast execution time.

    We are working with polynomials defined on nilpotent variables, which means that the degree of any generator in a polynomial term will be 0 or 1. Assume that our generators are …


    Read More
  • The Butera-Pernici algorithm (1)

    calendar Jan 4, 2020 · 4 min read · mathematics computation  ·
    Share on: twitter facebook linkedin copy

    Introduction

    We know that there is no general sub-exponential algorithm for computing the permanent of a square matrix. But we may very reasonably ask -- might there be a faster, possibly even polynomial-time algorithm, for some specific classes of matrices? For example, a sparse matrix will have most terms of the …


    Read More
  • Permanents and Ryser's algorithm

    calendar Dec 22, 2019 · 9 min read · mathematics computation  ·
    Share on: twitter facebook linkedin copy
    As I discussed in my last blog post, the permanent of an \(n\times n\) matrix \(M=m_{ij}\) is defined as \[ \text{per}(M)=\sum_{\sigma\in S_n}\prod_{i=1}^nm_{i,\sigma(i)} \] where the sum is taken over all permutations of the \(n\) numbers \(1,2,\ldots,n\). It differs from the better known determinant in having no …
    Read More
    • ««
    • «
    • 1
    • 2
    • »
    • »»

Recent Posts

  • Parabolas, numerically
  • Parameterization of the parabola
  • Four point parabolas
  • General expressions
  • Bicentric heptagons
  • Poncelet's porism on non-circular conic sections
  • Image dithering: a very simple error diffusion matrix
  • Image dithering: a very simple error diffusion matrix
  • Image dithering (2): error diffusion
  • Image dithering (1): half toning

Tags

MATHEMATICS 22 JULIA 16 VOTING 15 PYTHON 14 COMPUTATION 12 ALGEBRA 10 GIS 8 IMAGE-PROCESSING 5 GEOMETRY 4 JSXGRAPH 4 PROGRAMMING 4 CAD 3 LINEAR-PROGRAMMING 3 ANALYSIS 1 ASTRONOMY 1 CRYPTOGRAPHY 1 EDUCATION 1 GEOGEBRA 1 HASKELL 1 HISTORY 1 HUGO 1 HUMOUR 1 MUSIC 1 ORG 1 SCIENCE 1
What's all this, then?

Copyright  WHAT'S ALL THIS, THEN?. All Rights Reserved

to-top