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…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store