Numerical solution to a simple exponential equation
Subject: Numerical solution to a simple exponential equation
From: Virgil
Date: Tue, 3 Jul 2001 14:55:49 -0700 (PDT)
I am interested in obtaining solutions to equations involving exp(x),
that is %E^x.
For a very simple example, consider:
(C1) h(x):=x*exp(-x);
(C2) solve(h(x)=1/4);
x
%E
(D2) [x = ---]
4
Of course, Maxima is correct to say that x=exp(x)/4 "solves" the above
equation, but that is not really what one is looking for.
Numerically, one can verify that x=0.36 and x= 2.15 would make
h(x)=0.25.
But, how to get Maxima to give this answer??
I tried different "switches" for "solve" but could not find anyone that
would lead to a numerical solution.
I also found and tried the function zsolve, whose description sounds
promising, but could not get it to work.
Unfortunately, this function appears to be undocumented.
Thanks in advance for any suggestions!
__Virgil
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/