MATLAB: Why there is only one solution to the following equation
equationsolve
>> syms x;
>> x=solve(6*x-exp(x)==-1,x)
Best Answer
You did not constrain to real numbers, so there are an infinite number of solutions. The internal symbolic engine returns the entire set of them, but the user interface then selects a "representative" value out of the infinite set to return.
If you add the assumption of real to x, then two values will be returned.
Best Answer