Solving Line Integrals in Python’s SymPy with Custom Classes
In one of my first articles here at Medium.com, I described how one can calculate line integrals with SymPy. Yesterday, I stumbled upon a function within SymPy, called line_integrate
, which supposedly can do just that. I checked out this function and what it can do, but it turned out that it is not very flexible. But while playing around with that topic, I came up with a solution that…