MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: differences in Solve with -1/2 and -0.5


"Kenneth Levasseur" <Kenneth_Levasseur at uml.edu> wrote:
> Can anyone give a good reason why there is a difference in the
> following?  Preferably one that my students will understand.
>
> In[1]:=
> Solve[D[x E^(-x/2), x] == 0, x]
> Out[1]=
> {{x -> 2}}
> In[2]:=
> Solve[D[x E^(-0.5*x), x] == 0, x]
> General::dbyz:Division by zero.
> Out[2]=
> {}

Using the current version of Mathematica, I get

Out[2]= {{x -> 2.}}

just as one would expect.

David


  • Prev by Date: Re: Trying to use Mathematica as "word processor" for my math homework
  • Next by Date: Re: How to generate Orthogonal Polynomials?
  • Previous by thread: Re: differences in Solve with -1/2 and -0.5
  • Next by thread: Re: differences in Solve with -1/2 and -0.5