Hola,
Does someone else know about the condition which isn't valid in Python.
when i compute, it retus me invalid syntax..?
pt0 changes each loop i really don't understand what happened.
If someone could help me, tx
a = a_i
eps_t = 10**-13 #uncertainty TOF error in second
t0 = 47629.8*10**-9 #TOF peak center in second
tp0 = sqrt(2*m_i*a_i/(q_i*E)) + d*sqrt(1/(2*q_i*E*a_i/m_i) -t0
while abs(tp0) > eps_t:
<tab>a = a -tp0*10**3
<tab>tp0 = sqrt(2*m_i*a/(q_i*E)) + d*sqrt(1/(2*q_i*E*a/m_i) -t0
برچسب:
نویسنده: استخدام کار