合集-python数学建模第七章
摘要:import numpy as np import matplotlib.pyplot as plt from scipy.interpolate import griddata def f(x, y): return (x2 - 2*x) * np.exp(-x2 - y**2 - x*y) x_
阅读全文
摘要:import numpy as np import matplotlib.pyplot as plt from scipy.interpolate import interp1d, CubicSpline T = np.array([700, 720, 740, 760, 780]) V = np.
阅读全文
摘要:import numpy as np from scipy.optimize import curve_fit, leastsq, least_squares import matplotlib.pyplot as plt def g(x, a, b): return 10 * a / (10 *
阅读全文
摘要:import numpy as np from scipy.interpolate import interp1d from scipy.integrate import quad import matplotlib.pyplot as plt g = lambda x: (3 * x ** 2 +
阅读全文
浙公网安备 33010602011771号