Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

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: [mg68513] Re: [mg68502] How to get the output of Minimize function in x = a format
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Wed, 9 Aug 2006 04:17:56 -0400 (EDT)
  • Reply-to: hanlonr at cox.net
  • Sender: owner-wri-mathgroup at wolfram.com

Clear[x];
x=x/.Minimize[x^2 - 3x + 6, x][[2]]

3/2


Bob Hanlon

---- 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
> 

--

Bob Hanlon
hanlonr at cox.net



  • Prev by Date: Re: MemberQ
  • Next by Date: Re: How to get the output of Minimize function in x = a format
  • Previous by thread: Re: 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