Mathematics

Symbolic Math in Python

Yes, you can do symbolic math in Python! The library to take a look at is SymPy. This article is not a SymPy tutorial, as I only want to walk you through some examples to show you the kinds of things that it can do. A good place to start…

Tom Tue, 05/22/2018 - 20:55
How to Compute Colorful Fractals using NumPy and Matplotlib

Figure 3. Julia set for c=−0.4+0.6i, with "hot" colormap.

As a variation on the Mandelbrot fractal that I’ve computed before using NumPy array operations, I’d like to show you a few Julia fractals with some color added. I’ll concentrate on the Julia sets that are generated using the same quadratic polynomial that is used to…

Tom Sun, 03/25/2018 - 15:16

Jerk

What is jerk? Jerk is to acceleration as acceleration is to velocity. And, acceleration is to velocity as velocity is to position. So let’s start there. The instantaneous velocity at which you travel tells you…

Submitted on 20 November 2017