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),