blob: 01f0c19edac6e2911d76abc44b7cb3478d12e9d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
from simple import SIMPLE
problem = SIMPLE((1, 2), (0.7, 0.5), 0.02, 120)
problem.prep()
for i in range(3000):
print(f'Iteration {i}')
problem.iterate()
if i % 5 == 0 or i == 1:
problem.plot(True, 2)
|