MathGroup Archive 2006

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

Search the Archive

Re: How to get the output of Minimize function in x = a format

  • To: mathgroup at smc.vnet.net
  • Subject: [mg68516] Re: [mg68502] How to get the output of Minimize function in x = a format
  • From: "Chris Chiasson" <chris at chiasson.name>
  • Date: Wed, 9 Aug 2006 04:18:01 -0400 (EDT)
  • References: <200608081028.GAA29629@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

x=Block[{x},Minimize[x^2-3x+6,x]/.Rule\[Rule]Set;x]

On 8/8/06, erkutsonmez <erkuts at gmail.com> wrote:
> Say that,I have the following minimization problem
>
> Minimize[x^2 - 3x + 6, x]
>
> which gives me the x value that minimizes the expression in the format
> of
>
> {x -> 3\2}.
>
>
> I want to get the result in the format of x = 3/2 before seeing the
> result . What should i do?
>
> In other words i want x = argmin[x^2 - 3x + 6, x], how should i code
> it?
>
> Thanks for help,
>
> Best
> Erkut
>
>


-- 
http://chris.chiasson.name/


  • Prev by Date: Re: How to get the output of Minimize function in x = a format
  • Next by Date: Re: MemberQ
  • Previous by thread: How to get the output of Minimize function in x = a format
  • Next by thread: Re: How to get the output of Minimize function in x = a format