MathGroup Archive 2008

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

Search the Archive

Minimize


Dear Mathematica Gurus,
What Mathematica procedure to use to minimize expotential finction e.g.
Minimize[Abs[3^d + 5^f - 2^7], {d, f}]
where we can push: d and f are both Integers

NMinimize[Abs[3^d + 5^f - 2^7], {d, f}]
Mathematica answer is:
{2.66454*10^-14, {d -> 2.03248, f -> 2.96773}}

good answer is:
{d,f}={1,3}

Best wishes
Artur


  • Prev by Date: Re: Stacked Definitions
  • Next by Date: Re: How to export values of an expression as data file?
  • Previous by thread: Re: Model the surface of an ellipsoid
  • Next by thread: Re: Minimize