|
[Date Index]
[Thread Index]
[Author Index]
RE: How to get the output of Minimize function in x = a format
- To: mathgroup at smc.vnet.net
- Subject: [mg68529] RE: [mg68502] How to get the output of Minimize function in x = a format
- From: "Erickson Paul-CPTP18" <Paul.Erickson at Motorola.com>
- Date: Wed, 9 Aug 2006 04:18:39 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Not exactly sure if this is what you're after, but ...
In[12]:=
Print[" x = ", x /.Minimize[x^2 - 3x + 6, x][[2]] ]
-----Original Message-----
From: erkutsonmez [mailto:erkuts at gmail.com]
To: mathgroup at smc.vnet.net
Subject: [mg68529] [mg68502] How to get the output of Minimize function in x = a
format
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
Prev by Date:
Re: How to get the output of Minimize function in x = a format
Next by Date:
Re: Multiplying Elements of arrays: Inner product
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
|