import numpy as np
import scipy as sp
import sympy as sy
# 默认使用合适的显示
sy.init_printing()
%matplotlib inline
import scipy as sp
import sympy as sy
# 默认使用合适的显示
sy.init_printing()
import matplotlib.pyplot as plt
# 结果嵌入notebook网页(推荐, 可以显示动画)
%matplotlib notebook
%matplotlib inline