Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 2 years ago

IvanaGyro gravatar image

Solve ineuqation composed of FractionFieldElement

I want to solve an inequation composed of FractionFieldElement.

RF = RealField(300)
P.<x> = RF[]
solve(x ^ 2 / (x + 1) >= 0, x) # TypeError: x is not a valid variable.

I got a TypeError. What can I do?

click to hide/show revision 2
None

updated 2 years ago

FrédéricC gravatar image

Solve ineuqation composed of FractionFieldElement

I want to solve an inequation composed of FractionFieldElement.

RF = RealField(300)
P.<x> = RF[]
solve(x ^ 2 / (x + 1) >= 0, x) # TypeError: x is not a valid variable.

I got a TypeError. What can I do?