MathGroup Archive 2009

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

Search the Archive

Re: how to find minimum value.


Hi,

I'm not sure, that I understand you
x^2 + 3 x + 1 == 0
is an equation, that has several solution
but never a minimum, the equation is true or not
but never minimal. Can you post your input
to FindMinimum[] or NMinimize[] so that
we can see *what* you want to minimize?

Otherwise

x /. Rest[FindMinimum[x^2 + 3 x + 1, x]][[1]]

and

x /. Rest[NMinimize[x^2 + 3 x + 1, x]][[1]]

work as expected.

Regards
   Jens

mssivava wrote:
> Hi everyone,
> 
> For instance, lets assume that we have an equation like
> a = Solve[x^2 + 3 x + 1 == 0]
> 
> the solution gives 2 x values as
> 
> {{x -> 1/2 (-3 - Sqrt[5])}, {x -> 1/2 (-3 + Sqrt[5])}}
> 
> Which function can I use to find the min x? (Min[] or FindMimimum[] is not working)
> 
> In my real question, I have more than 50 values. So I need to find a mathematica function to find the minimum value from 50 automatically.
> 
> Thank you very much.
> 


  • Prev by Date: Re: how to find minimum value.
  • Next by Date: Re: Combining Plots with Different Ordinate Axes in
  • Previous by thread: Re: how to find minimum value.
  • Next by thread: Re: Non-deterministic numerical inaccuracies in