Authors: Harald Schilly, ℏal Snyder, William A. Stein
Views : 6
In [1]:
import sympy
from sympy.abc import x
sympy.init_printing(use_latex='mathjax')

In [2]:
x*x*x + x*x + x + 1

x**3 + x**2 + x + 1
In [1]:
2/3

0.6666666666666666
In [2]:
sin(pi/2)

1
In [2]:
ModularSymbols(37).decomposition()

[ Modular Symbols subspace of dimension 1 of Modular Symbols space of dimension 5 for Gamma_0(37) of weight 2 with sign 0 over Rational Field, Modular Symbols subspace of dimension 2 of Modular Symbols space of dimension 5 for Gamma_0(37) of weight 2 with sign 0 over Rational Field, Modular Symbols subspace of dimension 2 of Modular Symbols space of dimension 5 for Gamma_0(37) of weight 2 with sign 0 over Rational Field ]
In [ ]: