0

I am getting a bit confused, probably due to my engineering back ground rather than Mathematics.

I would like to use SciPy to find a coefficient of a function for instance:

def function(x, coeff): A, B, C, D, E = coeff return (A * x ** 2 + B * x)/(C * x ** 2 + D * x) - E

x is a real positive number but I thing that does not matter.

I would like to set it so for x in (3 < x < 10) the function has a value of > 2 and for

x > 30 the value of function < -20 for instance.

I tried to read documentation, read some posts and watch some videos on Youtube.

bonito
  • 11
  • 2

0 Answers0