Bug SS-4657
1 vote

NoRealRoots

Created by MadestBY on 1/31/2021 3:03 PM Last Updated by Davide on 2/1/2021 12:58 PM
%
 (hrs)
Logged: 0   (hrs)

 Description

have tryed solve an easy equation and got "NoRealRoots"

after simple the equation as "x+23=0"  the error the same.

    Davide (Monday, February 1, 2021 12:58 PM) #

you can solve it by using either roots() or solve()

However if you use the (2) arguments version, the result domain is the one set in your program settings: Tools > Options > Calculation > Roots (range)

This is by default set between -20 and 20, hence the error (no roots in that domain); also, because each user might have different settings, these (2) arguments functions are probably better used as on-the-fly tools.

If you want environment-indipendant  results I suggest you to use the (4) arguments alternative, where limits are explicit.