In Maple I use
solve(abs(-5.58 * L^(-1.88)) = 3, L);
and I get the results
L = 1.39 or L = -1.39
but if I use
fsolve(abs(-5.58 * L^(-1.88)) = 3, L);
I only get the result
L = -1.39
How can I make sure I get the positive result using fsolve
?
I'd avoid the avoid option. You can specify a range in which you want the solutions to fall, like this:
fsolve(abs(-5.58 * L^(-1.88)) = 3, L= 0..infinity);