MathGroup Archive 2006

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

Search the Archive

Re: How to use NMinimize with a numerical function

  • To: mathgroup at smc.vnet.net
  • Subject: [mg65418] Re: How to use NMinimize with a numerical function
  • From: "Ray Koopman" <koopman at sfu.ca>
  • Date: Fri, 31 Mar 2006 06:09:11 -0500 (EST)
  • References: <e0dpjp$qau$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Marco Gabiccini wrote:
> [...]
> I defined the intersection with the abscissa of the parabola
> y=ax^2+bx+c as f[a,b,c] and I want to find one set of values
> for which that intersection is reached at x=-2.
> [...]

With[{x = -2}, FindInstance[a x^2 + b x + c == 0, {a,b,c}, Reals, 2]]

{a -> 1/10, b -> 16/5, c -> 6}
{a -> 16/5, b -> 33/5, c -> 2/5}


  • Prev by Date: Re: Bug with Series[] - help wanted
  • Next by Date: simplify a trig expression
  • Previous by thread: Re: How to use NMinimize with a numerical function
  • Next by thread: Re: How to use NMinimize with a numerical function