[SciPy-User] Return variable value by function value
Sat Aug 27 09:35:44 CDT 2011
On Fri, Aug 26, 2011 at 1:25 PM, Kliment <firstname.lastname@example.org> wrote:
> this will be very simple to any of you I guess, but I don't know
> well numpy.
> I declare "x = arange(1,100)" and "y = sqrt(1 - x**2/10E+4)"
> How can I return x value when y = 0.95 for example?
> I hope I don't have to transform y equation by x as I know that and
> expect some more strait approach
numerically: scipy.optimize rootfinding, fsolve, brentq, ... see docs
> Thanks for your time
> SciPy-User mailing list
More information about the SciPy-User