Trying to Solve quadratic inequalities
3 ビュー (過去 30 日間)
古いコメントを表示
Athanasios Paraskevopoulos
2023 年 12 月 31 日
コメント済み: Athanasios Paraskevopoulos
2023 年 12 月 31 日
Hello, I am a new user of Matlab and I am trying to solve the following inequality

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.
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!