No real roots equation error

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

#21 Publicado: 28/8/2022 15:06:25
MaLe24

MaLe24

0 me gusta en 9 mensajes.

Grupo: User

Citar

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!

Citar

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.

Citar

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 Publicado: 28/8/2022 21:11:54
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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,89 KiB) descargado 1254 vez(es).

#23 Publicado: 28/8/2022 21:30:40
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: 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
  • Nuevos mensajes
  • Sin mensajes nuevos