Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'FindMaximum in Mathematica' topicStudent Support Forum > General > "FindMaximum in Mathematica"

< Previous CommentHelp | Reply To Comment | Reply To Topic
Author Comment/Response
Ginno Lipst
10/05/10 7:56pm

Thanks.

I then define a function

G[a_, b_] :=
FindMaximum[{Max[Abs[x + y], Abs[x - y], Abs[(1 + a) x + (b - 2) y]],
1 >= x >= -1 &&
1 >= y >= -1 && (x == 1 || -x == 1 || y == 1 || -y == 1 ||
a*x + b y == 1 || a*x + b y == -1)}, {x, y}]

I am wondering why Mathematica can not compute G[0, 4] or Plot3D[{G[a, b]}, {a, -5, 5}, {y, -5, 5}]. How to get the graph of the function G by Mathematica?

URL: ,

Subject (listing for 'FindMaximum in Mathematica')
Author Date Posted
FindMaximum in Mathematica Ginno Lipst 09/25/10 4:08pm
Re: FindMaximum in Mathematica Forum Modera... 09/26/10 7:12pm
Re: FindMaximum in Mathematica Forum Modera... 09/26/10 7:29pm
Re: FindMaximum in Mathematica Ginno Lipst 10/05/10 7:56pm
< Previous CommentHelp | Reply To Comment | Reply To Topic