Just import sympy.
Installation on windows
pip install SymPy
Installation on linux
sudo pip install SymPy
in the interpreter write this code:
>>> import sympy
>>> x = sympy.Symbol('x')
>>> sympy.solve(x**2+5*x-6)
[-6,1]
Installation on windows
pip install SymPy
Installation on linux
sudo pip install SymPy
in the interpreter write this code:
>>> import sympy
>>> x = sympy.Symbol('x')
>>> sympy.solve(x**2+5*x-6)
[-6,1]
Comments
Post a Comment