Articles in category python:

Integration by Differentiation

We all have a foundational understanding from high school that integration is the opposite of differentiation, as it's the inverse operation. That's an accurate notion. But there's a lesser-known aspect …

July 16, 2023

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

The Method of Manufactured Solutions

Constructing Unknowable Numerical Solutions for Precise Comparisons

When solving numerical problems like partial differential equations, knowing how accurate your solution is is always important. But how can you know if you don’t have the exact solution for …

June 25, 2023

A Primer in Graph Theory with Python

Graph theory is a branch of mathematics and computer science that deals with the study of graphs, which are a collection of vertices and edges that connect them. Graphs are …

June 18, 2023

Science Is Just Matrix Multiplication

Really, so do it wisely!

Recently, I was a guest at a seminar, where one Ph.D. student gave a presentation about some topic in physics. That student proudly claimed that he had managed to speed …

June 11, 2023