       How do I combine Solve and Maximize?

• To: mathgroup at smc.vnet.net
• Subject: [mg65740] How do I combine Solve and Maximize?
• From: "Friskin, David \(Mr\) \(Summerstrand Campus South\)" <David.Friskin at nmmu.ac.za>
• Date: Sun, 16 Apr 2006 03:49:19 -0400 (EDT)
• Sender: owner-wri-mathgroup at wolfram.com

```[This post has been delayed due to email problems - moderator]

I have an objective function with two input variables.  I have created a
function that maximizes the objective function with respect to one of
the input variables.  I would like to use Solve[] on this new function,
but I am having trouble doing this.

The following is a simple example of my problem:

f[x_,y_]:= -(x-10)^2-(y-10)^2+100  (* Objective Function *)

f1[x_]:= Maximize[{f[x,y],y>0},{y}][]  (* Value of Objective
Function maximized over all y values, at a specific x value *)

Solve[{f1[x]=A980,x>0},{x}]  (* What values of x causes f1==80 *)

This command produces a number of errors.  Can anyone tell me where my
error is?

Thanks

David

NOTICE: Please note that this eMail, and the contents thereof,
is subject to the standard NMMU eMail disclaimer which may be found at:

<http://www.nmmu.ac.za/disclaimer/email.htm>>

```

• Prev by Date: Help with 3D Drawing please
• Next by Date: Simplifying equations for Mathematica