tags:

views:

27

answers:

2

I need to plot this in maple

3x1+y+z<=180
x<=12
x+y+4z<=190

How can I do a plot in Maple? I'm using Maple 13

+2  A: 

You plot inequalities with the inequal command from the plots library, and you can plot multiple equations by putting them in brackets:

plots[inequal]([3x1+y+z<=180, x<=12, x+y+4z<=190])

If a given plot command doesn't support multiple plots, you can always do the plots separately and combine them with display:

with(plots):
plot1 := inequal(3x1+y+z<=180):
plot2 := inequal(x<=12):
plot3 := inequal(x+y+4z<=190):
display([plot1, plot2, plot3])
Michael Mrozek
A: 

Maple 13 has a Optimization Tool, I had to enter the variables, constraints and objective function.

I also get the commands to solve the optimization problem with such tool.

Thanks.

Felix Guerrero