If f(x) is a given real valued function, then how to find the minimum value of x>0 such that either 1f(x)>5 or f(x)=0. If no such x exist then it should return ∞ as output. If anyone write the sage code for me by considering any real valued function it would be helpful for me. Thank you in advance.