Need help!About: Python

Î

ΤÓñÁú

Traceback (most recent call last):
File "D:\Python25\for.py", line 12, in <module>
sita=math.atan(2*S[p][q]/(S[p][p]-S[q][q]))/2.0
ValueError: math domain error
................
i do not know why.
thanks for help.
×îºÃÓúºÓï¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£
 
W

Wayne West

You might get a better answer in a Python programming group, not one for
Microsoft Access database.
 
S

Stefan Hoffmann

hi,

ΤÓñÁú write:
Traceback (most recent call last):
File "D:\Python25\for.py", line 12, in <module>
sita=math.atan(2*S[p][q]/(S[p][p]-S[q][q]))/2.0
ValueError: math domain error
...............
i do not know why.
thanks for help.
Check if (S[p][p]-S[q][q]) <> 0.


mfG
--> stefan <--
 
Top