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: [mg75034] Re: minimum of a function
  • From: Gopinath Venkatesan <gopinathv at ou.edu>
  • Date: Sun, 15 Apr 2007 05:04:26 -0400 (EDT)

ReplaceAll rule can be used to get the results.

Like, 

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

Gopinath
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