Elevated Gaming Network
http://elevatedgaming.net/forums/

how2maths
http://elevatedgaming.net/forums/viewtopic.php?f=13&t=22924
Page 1 of 3

Author:  SilverStevie [ Sun Oct 23, 2016 3:20 am ]
Post subject:  how2maths

Find the values of x1 and x2 that maximize z=2x1+5x2
Subject to:
2x1+ x2 >= 8
-4x1+ 2 <= 2
2x1- 3x2 <= 0
x1 >= 0
x2 >= 0

Author:  Wartheft [ Sun Oct 23, 2016 4:56 am ]
Post subject:  Re: how2maths

I'm assuming by x1 and x2 you really mean x^1 and x^2?

Author:  Kapitan [ Sun Oct 23, 2016 5:51 am ]
Post subject:  Re: how2maths

Wartheft wrote:
I'm assuming by x1 and x2 you really mean x^1 and x^2?


Wouldn't x1 and x2 be different variables, as in x and y? And in that case isn't this just simple simultaneous equations?

Although if you did actually mean it as in quadratic equations, then just put them into a format like x^2+2x-8>=0 and solve from there. Shouldn't need 3 different equations for any of these though which is why i'm not 100% sure.

Author:  cnnalin [ Sun Oct 23, 2016 9:50 am ]
Post subject:  Re: how2maths

SilverStevie wrote:
Find the values of x1 and x2 that maximize z=2x1+5x2

He clearly stated that these are variables

Author:  SilverStevie [ Sun Oct 23, 2016 9:56 am ]
Post subject:  Re: how2maths

No I mean them as diffrent variables.
Gosh lern2mat ppl

Author:  cnnalin [ Sun Oct 23, 2016 10:04 am ]
Post subject:  Re: how2maths

I'm just guessing but is z=40?
X1=0 and x2=8?

Author:  SilverStevie [ Sun Oct 23, 2016 11:28 am ]
Post subject:  Re: how2maths

cnnalin wrote:
I'm just guessing but is z=40?
X1=0 and x2=8?


Incorrect.
Here's a hint, replace x1 and x2 with x and y.
Then graph all the equations.

Author:  cnnalin [ Sun Oct 23, 2016 11:45 am ]
Post subject:  Re: how2maths

MAN I DIDNT WANNA DO THE GRAPH SHIT THATS WHY TRIED TO DO IT MENTALLY
I feel like my laziness is gonna be the downfall of me xD

Author:  Jimmah [ Sun Oct 23, 2016 12:05 pm ]
Post subject:  Re: how2maths

i got x1=3 and x2=2 found using simplex method

edit; didn't read the problem correctly. this answer is wrong.

Author:  Yiggles Moto [ Sun Oct 23, 2016 12:37 pm ]
Post subject:  Re: how2maths

SilverStevie wrote:
Find the values of x1 and x2 that maximize z=2x1+5x2
Subject to:
2x1+ x2 >= 8
-4x1+ 2 <= 2
2x1- 3x2 <= 0
x1 >= 0
x2 >= 0


btw, there's a subscript bb code tag to use so you get x1 and x2

Code:
x[sub]1[/sub] and x[sub]2[/sub]


Anyways, is there even a solution? There's no bound for z. We can find a minimum, but the graphs go on forever otherwise?
Can't really find a maximum for z=2x+5y when z has no bounds, and what's graphed doesn't have a closed space and goes on forever in the +x and +y quadrant.

Page 1 of 3 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/