       Re: max. value in a plot?

• To: mathgroup at smc.vnet.net
• Subject: [mg97468] Re: [mg97422] max. value in a plot?
• From: "David Park" <djmpark at comcast.net>
• Date: Sat, 14 Mar 2009 05:34:33 -0500 (EST)
• References: <13010531.1236938053810.JavaMail.root@m02>

```f[x_, y_] = (6 15)/(10^6 ((x + 0)^2 + (y + 0)^2 + (0 - 0.005)^2))

Maximize[{f[x, y], -0.05 <= x <= 0.05, -0.05 <= y <= 0.05}, {x,
y}] // Chop
{3.6, {x -> 0, y -> 0}}

Minimize[{f[x, y], -0.05 <= x <= 0.05, -0.05 <= y <= 0.05}, {x,
y}] // Chop
{0.0179104, {x -> 0.05, y -> 0.05}}

Plot3D[f[x, y], {x, -0.05, 0.05}, {y, -0.05, {0.05}},
PlotRange -> {0.0179104, 3.6}]

David Park
djmpark at comcast.net
http://home.comcast.net/~djmpark/

From: Oliver [mailto:sch_oliver2000 at yahoo.de]

Hallo,
i have 2 small questions. how can i find the max. Value of the following
Plot?

Plot3D[
(6*15*(10^-6))/((x - 0)^2 + (y - 0)^2 + (0 - 0.005)^2),

{x, -0.05, 0.05}, {y, -0.05, 0.05}]

and how can i plot the range ONLY from the min to the max value?