SymPy

SymPy

SymPyarrow-up-right is a wrapper to the Python SymPy library for symbolic computation: solve equations (or system of equations), simplify them, find derivates or integrals...

An overview of its capabilities can be found on the following notebook:

http://nbviewer.jupyter.org/github/sylvaticus/juliatutorial/blob/master/assets/Symbolic computation.ipynbarrow-up-right

Some additional notes to that notebook:

  • You can plot a function that includes symbols, e.g.: plot(2x,0,1) plots y=2x in the [0,1] range

  • For the infinity symbol use either oo or Inf (eventually with + or -)

Other Mathematical packages

While an updated, expanded and revised version of this chapter is available in "Chapter 10 - Mathematical Libraries" of Antonello Lobianco (2019), "Julia Quick Syntax Reference", Apressarrow-up-right, this tutorial remains in active development.

Last updated