Solve inequation not working with sqrt
조회 수: 3(최근 30일)
I tried to solve a simple inequation that had square root of the variable and the solve() function is not giving me the correct answer.
The inequation is:
The code is:
syms k real
eq = ( -1 + sqrt(1-4*k) )/2 < 1;
And the answer is 0.
Since k is real the answer should be the interval (-2, 1/4)
Prudhvi Peddagoni 2020년 10월 1일
It seems that you did not enable ReturnConditions parameter. So the function is returning only one solution
This will return all the possible solutions. Please refer this link for more info.