Find roots



Great!

find_root(log(x^2)+%e^x+3=-x, x, -3, -0.01); -> -0.15748919531069

find_root(log(x^2)+%e^x+3=-x, x, -7, -3); -> -6.84937490484723

Thanks,
Jo?o


----- Original Message ----- 
From: "Raymond Toy" <toy.raymond at gmail.com>
To: <maxima at math.utexas.edu>
Sent: Thursday, January 03, 2013 11:31 PM
Subject: Re: [Maxima] Find roots


>>>>> "Jo?o" == Jo?o Vieira Gomes <vieiragomes at sapo.pt> writes:

    Jo?o> How can we use Maxima to find the real roots of equation 
log(x^2)+%e^x+3=-x?

    Jo?o> Solve just give x=-2*log(x)-%e^x-3.

If you want a numerical answer, you can use find_root:

find_root(log(x^2)+%e^x+3=-x, x, 0.1, 1) -> .1196296556538211

I found the limits by plotting the function log(x^2)+%e^x+3+x and
noticing that there is a root near 0.1.  Since this function is
monotonic for x > 0, it's also the only root.  I leave it as an
exercise to find the other real root.

Ray

_______________________________________________
Maxima mailing list
Maxima at math.utexas.edu
http://www.math.utexas.edu/mailman/listinfo/maxima


-----
Nenhum v?rus encontrado nessa mensagem.
Verificado por AVG - www.avgbrasil.com.br
Vers?o: 2012.0.2221 / Banco de dados de v?rus: 2637/5507 - Data de 
Lan?amento: 01/03/13