Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: reuse values maximize

  • To: mathgroup at
  • Subject: [mg51973] Re: reuse values maximize
  • From: "Jens-Peer Kuska" <kuska at>
  • Date: Sat, 6 Nov 2004 02:07:34 -0500 (EST)
  • Organization: Uni Leipzig
  • References: <cmfbkc$7eh$>
  • Sender: owner-wri-mathgroup at


yourValue= y /. b



"Arne" <a.kant at> schrieb im Newsbeitrag 
news:cmfbkc$7eh$1 at
> Sorry, very simple question, but I really can't work it out...
> I want to use the output of a maximation for further calculations.
> something like:
> z[y_]=-y^2+y
> a=Maximize[z,{y}]
> b=Extract[a,1]
> Now mathematica returns {y -> -0.5}.
> I want to assign the value of -0.5 to a new variable. So far I haven't
> worked out how to do this (besides copy and paste!).
> Thanks for any comment.

  • Prev by Date: List element replacement.
  • Next by Date: Re: Inverse of "PowerExpand"
  • Previous by thread: Re: reuse values maximize
  • Next by thread: Re: reuse values maximize