Articles in category Python:
Don’t Trust Computer Algebra Blindly
With computer algebra systems like Mathematica, Maple, or sympy , it is all too tempting to use some single powerful command to solve a difficult problem. But without necessary care, …
The Laplace Equation Solved Analytically With Python
Today’s Problem
Using only Python, solve the 2D Laplace equation
on a semi-infinite rectangular domain
with the boundary conditions
and
as well as
Solution with Python
The solution uses the …
The Hydrogen Atom Solved With Python
Diogoleite asked me recently, after reading my article “ Two Lines of Python to Solve The Schrödinger Equation ”, how one could use the so-called shooting method to solve the …
Piecewise Functions in Python’s sympy
In many applications, we are faced with functions that are defined piecewise. For instance, consider the function
sympy offers an easy and intuitive way to work with functions like that: …