Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Math 480: Open Source Mathematical Software
2016-04-29
William Stein
Lectures 15: Symbolic Calculus (part 3/3)
Plan:
reminder: homework and peer grading due today at 6pm.
start screencast
talk for a few minutes about something
finish up and polish your homework and peer grading, and ask questions.
1. Example involving rounding error
2. Assumptions - sometimes needed when integrating
E.g., when computing the answer is usually easy -- it's . However, when , it's .
3. Sympy
Sympy is a Python library for symbolic calculus, which can be used independently from Sage, and is also in Sage. See http://www.sympy.org/en/index.html
Integration with Sage could be improved.
But being able to use Sympy without Sage is potentially very valuable (see Hamster). Or it can cause you to waste a lot of time (see Chris Swierczewski).
On Sage support list, here about sympy as follows:
I've been using Sympy, but switched to Sage since Sympy is too slow or missing something.
I've been using Sage to compute this integral (or series) and it's wrong! ... There is a bug in Maxima... Use algorithm='sympy', since Sympy is right.