From 2cf90e104a40ae5e4b14752ad75ad0f7c3d2c8a2 Mon Sep 17 00:00:00 2001 From: fracture-hikari <1336446085@qq.com> Date: Sun, 1 Jun 2025 21:30:40 +0800 Subject: [PATCH] feat: range --- numeric.py | 2 +- picard-poly.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/numeric.py b/numeric.py index 55b9135..8055bd6 100644 --- a/numeric.py +++ b/numeric.py @@ -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), ] diff --git a/picard-poly.py b/picard-poly.py index 1d9acbb..e8b69f9 100644 --- a/picard-poly.py +++ b/picard-poly.py @@ -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),