《用 Python 学微积分》笔记 1

《用 Python 学微积分》原文见参考资料 1。 1、多项式 f(x)=x3-5x2+9 def f(x): return x**3 - 5*x**2 + 9 print f(3) print f(1) import numpy as np x = np.linspace(-5, 5, num = 100) y = f(x) import matplotlib.pyplot as p
相关文章
相关标签/搜索