前言本文章下列内容以解方程$$e^{x-1}=x+1,x\in(-1,5)$$为例函数 $$y=e^{x-1}-x-1$$的图像为前置代码为import numpy as np import matplotlib.pyplot as plt dmin = 1e-10 fmax = 1000 def f(x): return np.exp(x - 1) - x - 1 def f_

- 阅读全文 -