Finding all values for a variable that

asked 5 years ago

MForce gravatar image

I am trying to solve, the followng, simple problem using SageMath.

When given a Function (f(x)=(4/x)) I want SageMath to find all values for x, so that f(x) will be real. In the given example it should return RR \ {0} meaning all real values except for 0.

Is there a way to solve this problem in SageMath?

Preview: (hide)