lectures‎ > ‎

lecture 28

Thursday 4/7/11

Introduction to Symbolic Manipulation with Sage

Website: http://www.sagemath.org
Documentation: http://www.sagemath.org/help.html

Key ideas:
  • arbitrary precision arithmetic with rational numbers
  • high precision decimal arithmetic
  • symbolic algebra
    • x,y=var('x,y');
    • solve([x^2+y^2==25, 3*x+4*y == 24],x,y)
    •  f= sin(x)*y^2 + log(y/x)
    • f.diff(x)
    • expand(f^2)
  • python-based programming
    • define functions using python
    • define new classes using python
  • tutorial
Comments