{ "metadata": { "name": "sympy" }, "nbformat": 2, "worksheets": [ { "cells": [ { "cell_type": "markdown", "source": [ "# SymPy: Open Source Symbolic Mathematics", "", "This notebook uses the [SymPy](http://sympy.org) package to perform symbolic manipulations,", "and combined with numpy and matplotlib, also displays numerical visualizations of symbolically", "constructed expressions.", "", "We first load sympy printing and plotting support, as well as all of sympy:" ] }, { "cell_type": "code", "collapsed": false, "input": [ "%load_ext sympyprinting", "%pylab inline", "", "from __future__ import division", "import sympy as sym", "from sympy import *", "x, y, z = symbols(\"x y z\")", "k, m, n = symbols(\"k m n\", integer=True)", "f, g, h = map(Function, 'fgh')" ], "language": "python", "outputs": [ { "output_type": "stream", "stream": "stdout", "text": [ "", "Welcome to pylab, a matplotlib-based Python environment [backend: module://IPython.zmq.pylab.backend_inline].", "For more information, type 'help(pylab)'." ] } ], "prompt_number": 1 }, { "cell_type": "markdown", "source": [ "