MathGroup Archive 2009

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

Search the Archive

Maximizing function which defines a routine

  • To: mathgroup at
  • Subject: [mg95281] Maximizing function which defines a routine
  • From: Mark <mryan1 at>
  • Date: Wed, 14 Jan 2009 05:52:53 -0500 (EST)

(Apologies up front for my utter lack of programming ability--the only language Ive ever really programmed in is Basic and I havent even done much of that)

I have a function "G" in two arguments (x,y) which uses a loop (Im using label/goto for this loop if that gives any idea of my programming abilities) to alter the values of three "state" variables (a,b,c). The output of this function is to store the final values of these three variables a,b,c, (globally). 

Is it possible in Mathematica to use Maximize or NMaximize on this function, in order to, for example, find the "x" which maximizes "a" (given y)?

Thanks in advance for any help (and please let me know if this question is too vague or too poorly worded),

  • Prev by Date: Re: printing symbols at as a table
  • Next by Date: Re: Is this so hard?
  • Previous by thread: Re: Re: How to modify an Excel file
  • Next by thread: Re: Maximizing function which defines a routine