Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

Re: how to find minimum value.

  • To: mathgroup at smc.vnet.net
  • Subject: [mg94961] Re: [mg94945] how to find minimum value.
  • From: "Scot T. Martin" <smartin at deas.harvard.edu>
  • Date: Thu, 1 Jan 2009 07:25:58 -0500 (EST)
  • References: <200812311109.GAA13599@smc.vnet.net>

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.