MathGroup Archive 2007

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

Search the Archive

How can I automate this problem in a mathematica notebook?


I was asked to automate the problem below in mathematica:

I'm using a function called answer[q_] in terms of two parameters alpha and q.


answer[q_]:= "a pretty long equation in terms of q and alpha"

The maximum values of q can be obtained from this:

Maximize[{answer[q], {0 < q < 1}}, q]

but obviously I need to specify a value for alpha to get a maximum value for q

So basically I want to plot answer[q] for values of alpha between 0.25 and 1 such that q is maximum in answer[q] (maximum q will be different for a the different alpha values).

I hope someone can tell me how to code this so that it is automated in mathematica. I'm guessing this should be an easy problem for you people :)


  • Prev by Date: Import of CSDF files
  • Next by Date: Problem with Which
  • Previous by thread: Re: Import of CSDF files
  • Next by thread: Re: How can I automate this problem in a mathematica notebook?