[SciPy-User] Return variable value by function value

Kliment otrov@hush...
Sun Aug 28 09:04:25 CDT 2011


Thanks for your input guys

So in similar cases I should use interpolation function (or solver 
depending on initial function) from SciPy package

Example I provided was from scratch of course, but it seems that 
0.95 is still in y range:

>>> sqrt(1 - 98**2/10E+4)
0.95076811052958654

>>> sqrt(1 - 99**2/10E+4)
0.94973154101567037


Regards,
Kliment



More information about the SciPy-User mailing list