how to write a python script to find the value of x at a given y value code example
Example 1: how to write a python script to find the value of x at a given y value
import numpy
x = numpy.arange(0, 10, 0.1)
y = numpy.sin(x)
Example 2: how to write a python script to find the value of x at a given y value
import scipy as s
x = s.arange(0, 10, 0.1)
y = s.sin(x)