feat: range
This commit is contained in:
parent
26d832d64e
commit
2cf90e104a
@ -57,7 +57,7 @@ def improvedEuler(f, a, b, y0, h):
|
|||||||
return xs, ys
|
return xs, ys
|
||||||
|
|
||||||
lims = [
|
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, 1, threshold),
|
||||||
(-1, 0.4, 0.6, -threshold, -1),
|
(-1, 0.4, 0.6, -threshold, -1),
|
||||||
]
|
]
|
||||||
|
@ -187,6 +187,7 @@ def picardIteration(t0, y0, num_iters = 20):
|
|||||||
phi.append(intg_result + phi[0])
|
phi.append(intg_result + phi[0])
|
||||||
return phi
|
return phi
|
||||||
|
|
||||||
|
# (t0, tM, y0, ym, yM)
|
||||||
lims = [
|
lims = [
|
||||||
(0, 2, 0, -1, 100),
|
(0, 2, 0, -1, 100),
|
||||||
(0, 1, 1, 0, 100),
|
(0, 1, 1, 0, 100),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user