Articles with tag #NumPy:

How To Create Differentiation Matrices

Suppose we have function đť‘“ given on an equidistant grid

and we want to compute the derivative of that function on the same grid. Last week, I have written some …

Oct. 29, 2023

Polynomial Interpolation Made Easy

The Lagrangian way of doing interpolation

Wow, this is my 100th story! As a topic, I have chosen something about one of my favorite mathematicians… or should I say, physicists? I’m talking about Joseph-Louis Lagrange.

It’s …

Oct. 22, 2023

The Fractal Structure of the Double Compound Pendulum

The double compound pendulum is a fascinating physical system that exhibits chaotic behavior. In a previous article, we solved and animated the double compound pendulum. In this follow-up article, we …


Chaos in Classical Mechanics

The Double-Compound-Pendulum Solved with Python

Classical mechanics is the study of the motion of objects under the influence of forces. While it has been around for centuries, classical mechanics is still a fundamental topic in …


NumPy: Understanding Meshed Grids

When I'm teaching my courses about scientific Python, students often have a hard time understanding the concept of meshed grids in NumPy and what's the difference between the various options. …

July 9, 2023