This commit is contained in:
lwj
2025-06-14 11:40:57 +08:00
parent b509f51ceb
commit 852ee942ef
5 changed files with 15 additions and 9 deletions

View File

@@ -45,12 +45,12 @@ def MullerSolve(fx,x0,x1,x2,err1,err2,N):
f2 = f3
q = h1
#精度要求#########################152页
if __name__ == "__main__":
err1 = 1e-5
err2 = 1e-5
N = 100
##把初始函数和初始值改成题干要求的##########################
x0 = 0.3
x1 = 0.5
x2 = 0.4