Re: Minimization Algebraically
- To: mathgroup at smc.vnet.net
- Subject: [mg103384] Re: Minimization Algebraically
- From: Szabolcs Horvát <szhorvat at gmail.com>
- Date: Sat, 19 Sep 2009 05:26:53 -0400 (EDT)
- References: <h8vkeh$8un$1@smc.vnet.net>
On 2009.09.18. 11:38, Bayers, Alexander wrote: > I am currently trying to minimize the following function in Mathematica: > > ((360*(-1 + E^(0.2493150684931507*r0)))/91 - r[L3m])^2 > > Using r0. When I try to minimize this algebraically using Minimize, > however, I receive the following answer: > > Minimize[((360*(-1 + E^(0.2493150684931507*r0)))/91 - r[L3m])^2, {r0}] > > Instead of an algebraic answer. Is there any way to coerce Mathematica > to return the algebraic answer through a call to minimize? > Do not use inexact number ("decimals") if you need a symbolic answer. Rationalize[] can help to convert the quantities in the expression to exact forms. From the little information you provided it looks like the function r[] was not defined. Minimize will only work with explicit expressions, it can't handle unspecified functions.