!pip install sympy
Collecting sympy
  Downloading sympy-1.1.1.tar.gz (4.6MB)
    100% |████████████████████████████████| 4.6MB 87kB/s  eta 0:00:01
Collecting mpmath>=0.19 (from sympy)
  Downloading mpmath-0.19.tar.gz (498kB)
    100% |████████████████████████████████| 501kB 689kB/s eta 0:00:01
Installing collected packages: mpmath, sympy
  Running setup.py install for mpmath ... - \ | / - \ | done
  Running setup.py install for sympy ... - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | done
Successfully installed mpmath-0.19 sympy-1.1.1
from sympy import *
x = var('x')
y = x ** 2
show(integrate(y))
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-15-84945457ca52> in <module>()
      2 x = var('x')
      3 y = x ** 2
----> 4 show(integrate(y))

NameError: name 'show' is not defined
import numpy as np
# Creating a 3D numpy array
arr = np.zeros((3,3,3))
# Trying to convert array to a matrix, which will not work
mat = np.matrix(arr)
 
x**3/3