This commit is contained in:
2025-06-10 14:29:12 +08:00
parent 0d7b89e21d
commit 68eb32f618
15 changed files with 23 additions and 8 deletions

View File

@@ -2,6 +2,7 @@ def fx(x):
return 1/x
# 逐次分半梯形递推公式
def SplitTrapezoidal(a,b,err):
t1 = (b-a)*(fx(a)+fx(b))/2
k = 1