Im solving a system equation within a for loop, but it never ends But its ok to evaluate f1(n) outside the loop.... why?
def f1(ll):
def f1(ll):
T=ode_solver()
f = lambda t,y:[y[1],eqa.subs(l=ll,s=y[0],w=y[1],x=t)]
T.function=f
T.y_0=[0,1]
T.algorithm="rk4"
T.t_span=[0,1]
T.h=1
T.ode_solve(num_points=40)
s=T.solution[-1][1][0]-1
return s
for i in range(1) :g(i)