Mathematica 9 is now available
Services & Resources / Wolfram Forums
MathGroup Archive
*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
  • Subject: [mg75034] Re: minimum of a function
  • From: Gopinath Venkatesan <gopinathv at>
  • Date: Sun, 15 Apr 2007 05:04:26 -0400 (EDT)

ReplaceAll rule can be used to get the results.


fun[x_] := x^2 - 2*x - 2; 
fmin := FindMinimum[fun[x], {x, 0}]; 
x /. fmin[[2]]

University of Oklahoma

  • Prev by Date: Re: Mathematica help
  • Next by Date: Re: minimum of a function
  • Previous by thread: minimum of a function
  • Next by thread: Re: minimum of a function