擅长:python、mysql、java
<p>我建议使用<code>try</code>/<code>except</code>捕捉错误并<em>然后</em>打印出变量的值。这样你就可以看到罪魁祸首了:</p>
<pre><code>try:
computedValue = - k_cav*((Tcav*b**3*Pr/((T3+T2)*v**2))**4.42)**0.091/b
except ValueError:
print k_cav, Tcav, b, Pr, T3, T2, v
raise
doWhateverYouDoWith(computedValue)
</code></pre>