[SciPy-User] Return variable value by function value
josef.pktd at gmail.com
josef.pktd at gmail.com
Sat Aug 27 10:35:44 EDT 2011
On Fri, Aug 26, 2011 at 1:25 PM, Kliment <otrov at hush.ai> wrote:
> Hello,
>
> 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
Josef
>
>
> Thanks for your time
>
> _______________________________________________
> SciPy-User mailing list
> SciPy-User at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>
More information about the SciPy-User
mailing list