Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupport News AboutSign UpSign In
| Download

Jupyter notebook sympy printing test.ipynb

Project: EME 150A
Views: 180
Kernel: Python 2 (SageMath)
import os from sympy import *
os.environ['SYMPY_DEBUG'] = 'True'
init_printing()
Matrix([1, 2])
Matrix([ [1], [2]])
a, b, c = symbols('a, b, c')
a** + b**2 - c**2
a**(b**2) - c**2
init_printing(use_latex='mathjax')
a** + b**2 - c**2
a**(b**2) - c**2