Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Re: minimum of a function

  • To: mathgroup at smc.vnet.net
  • Subject: [mg75033] Re: [mg75030] minimum of a function
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Sun, 15 Apr 2007 05:03:56 -0400 (EDT)
  • Reply-to: hanlonr at cox.net

f[x_]:=x^2+3x-2;

fmin=FindMinimum[f[x], {x, 0}][[2]]

{x -> -1.5}

f[x]/.fmin

-4.25


Bob Hanlon

---- Sven Krueger <Sven-Philip.Krueger at phys.uni-goettingen.de> wrote:
> Hi
>
> I also have a question concerning a mathematica problem:
>
> I search the minimum of a function
> fmin := FindMinimum[f[x], {x, 0}]
> Evaluate[fmin]
>
> I get out for example
> {2.4, {x -> 0.2}}
>
> Is it possible to use the result x=0.2 afterwards?
> I would like to fix x after getting out the value of x at different
> results of fmin.
>
> Thank you for your help
>
> Sven Kr=C3=BCger
>
>



  • Prev by Date: Re: minimum of a function
  • Next by Date: RE: Spurious Line
  • Previous by thread: Re: minimum of a function
  • Next by thread: Re: minimum of a function