feat: range

This commit is contained in:
fracture-hikari 2025-06-01 21:30:40 +08:00
parent 26d832d64e
commit 2cf90e104a
2 changed files with 2 additions and 1 deletions

View File

@ -57,7 +57,7 @@ def improvedEuler(f, a, b, y0, h):
return xs, ys
lims = [
(0, 1.4, 1.8, 1, threshold),
(0, 1.55, 1.75, 1, threshold),
(1, 0.4, 0.6, 1, threshold),
(-1, 0.4, 0.6, -threshold, -1),
]

View File

@ -187,6 +187,7 @@ def picardIteration(t0, y0, num_iters = 20):
phi.append(intg_result + phi[0])
return phi
# (t0, tM, y0, ym, yM)
lims = [
(0, 2, 0, -1, 100),
(0, 1, 1, 0, 100),