No real roots equation error

No real roots equation error - I am having the No real roots error while trying to solve an equation - Messages

#21 Posted: 8/28/2022 3:06:25 PM
MaLe24

MaLe24

0 likes in 9 posts.

Group: User

Quote

root of a function is what it makes 0 when given to unknown.
for example; take f(x)=x^2+3*x+2.
f(x) results zero when x is equal to -2 and -1.
solve(), roots(), FindRoot(), al_nleqsolve() are simply trying to find that zero makers.
main purpose of solvers are trying to find the root of given function.



Great explanation, thanks!

Quote

this function finds x value which makes equ(x) is equal to 1000.
solve(), roots(), FindRoots() etc could be used too.
I used it just to show you smath can solve your function, correctly.



I see now indeed. I checked it in my formula and understand what you mean. Thanks.

Quote

right click to result, hover to decimal places, choose how many digits you want to show.


Thanks.

Thanks as well for the picture of the numeric solver options, very helpful!
#22 Posted: 8/28/2022 9:11:54 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

I tried another equation to solve, but get the norealroots error. What would be the way to go here ?


Plot to see the function will never be = 0

Mal.e24.sm (8 KiB) downloaded 22 time(s).

#23 Posted: 8/28/2022 9:30:40 PM
overlord

overlord

549 likes in 1332 posts.

Group: Moderator

Wrote

Thanks.

Thanks as well for the picture of the numeric solver options, very helpful!


You are welcome.
If you have other questions, don't hesitate to ask.
But next time could you please write it under Questions?
This is bug reporting section of forum.

Regards
  • New Posts New Posts
  • No New Posts No New Posts