Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*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 2004

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

Search the Archive

reuse values maximize

  • To: mathgroup at smc.vnet.net
  • Subject: [mg51947] reuse values maximize
  • From: a.kant at web.de (Arne)
  • Date: Fri, 5 Nov 2004 02:18:55 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

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: ListContourPlot - different levels
  • Next by Date: NotebookWrite[] question
  • Previous by thread: Re: ListContourPlot - different levels
  • Next by thread: Re: reuse values maximize