MathGroup Archive 2009

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

Search the Archive

Re: how to find minimum value.


Not sure I fully understand your question, but here is how to use 
FindMinimum[].

In[1]:=

FindMinimum[x^2+3 x+1,x]

Out[2]=

{-1.25,{x->-1.5}}

The minimum value is -1.25 and it occurs for x=-1.5.




On Wed, 31 Dec 2008, 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: Non-deterministic numerical inaccuracies in
  • Next by Date: Re: how to find minimum value.
  • Previous by thread: Re: how to find minimum value.
  • Next by thread: Re: how to find minimum value.