Trying to Solve quadratic inequalities
4 次查看(过去 30 天)
显示 更早的评论
Hello, I am a new user of Matlab and I am trying to solve the following inequality
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1579526/image.png)
I tried to solve it with the code bellow and as you can see the result is wrong. I am seeking for intervals. What should I do?
syms x
ineq = x^2-2*x+7>12;
sol = solve(ineq, x)
0 个评论
采纳的回答
更多回答(1 个)
John D'Errico
2023-12-31
编辑:John D'Errico
2023-12-31
syms x
ineq = x^2-2*x+7>12;
sol = solve(ineq, x,'returnconditions',true)
sol.x
sol.conditions
The result is two half-infinite intervals.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Calculus 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!