2024年10月29日
摘要: `import numpy as np from scipy.interpolate import interp1d from scipy.interpolate import lagrange import pylab as plt a = np.loadtxt('data7_4.txt') x0 阅读全文
posted @ 2024-10-29 14:46 VVV1 阅读(5) 评论(0) 推荐(0) 编辑
摘要: `import numpy as np import pylab as plt from scipy.interpolate import lagrange yx = lambda x: 1/(1+x**2) def fun(n): x = np.linspace(-5, 5, n+1) p = l 阅读全文
posted @ 2024-10-29 14:44 VVV1 阅读(6) 评论(0) 推荐(0) 编辑