Need help!About: Python

  • Thread starter Thread starter ΤÓñÁú
  • Start date Start date
Î

ΤÓñÁú

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.
×îºÃÓúºÓï¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£
 
You might get a better answer in a Python programming group, not one for
Microsoft Access database.
 
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 <--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top