Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Plotting a region' topicStudent Support Forum > General > "Plotting a region"

Next Comment >Help | Reply To Topic
Author Comment/Response
McLaine
08/25/09 09:49am

Hello,

I've currently got a problem that drives me crazy.

My starting point is that I want to visualize three conditions for the variables w1,w2,w3. These are:

1. w3 <= -20/3 + 10/3 * w1 - w2

2. w3 <= -40/3 - w1 + 10/3 * w2

3. w3 >= 6 + 0.3 w1 + 0.3 w2

I'm looking for a way to plot the object that results when simultaneously considering all of these conditions.

I started with defining each condition as an equation. Then, I plotted each resulting plane separately and all at once.

The source code looks like this:

L1 := -(20/3) + (10/3)*w1 - w2

L2 := -(40/3) - w1 + (10/3)*w2

L3 := 6 + 0.3 w1 + 0.3 w2

Plot3D[L1, {w1, 0, 10}, {w2, 0, 14}]

Plot3D[L2, {w1, 0, 10}, {w2, 0, 14}]

Plot3D[L3, {w1, 0, 10}, {w2, 0, 14}]

Plot3D[{L1,L2,L3}, {w1, 0, 10}, {w2, 0, 14}]



I attached the last figure below.


My problem is that this plot is not what I am looking for :-)

The object I want to be plotted is only indirectly defined by the three planes. It consists of the points below the horizontal plane (condition 3) and above the other two (conditions 1 and 2).

Is there any way to visualize this object more directly?

Thanks.



Attachment: grafik.JPG, URL: ,

Subject (listing for 'Plotting a region')
Author Date Posted
Plotting a region McLaine 08/25/09 09:49am
Re: Plotting a region Bill 08/25/09 11:52am
Re: Plotting a region Tom 08/26/09 08:06am
Re: Re: Plotting a region McLaine 08/26/09 09:58am
Next Comment >Help | Reply To Topic