Región factible
Author: JuanFer

Calcula la región factible de un sistema de 2 inecuaciones con 2 incógnitas.

Mueve el punto amarillo

a_1=

b_1=

c_3=

a_1x+b_1y=c_1

a_2x+b_2y=c_2

c_1=

a_2=

b_2=

A = (0, 5)
a = 2 (slider from -10 to 10, step 1)
b = 1 (slider from -10 to 10, step 1)
c = 3 (slider from -10 to 10, step 1)
d = 10 (slider from -10 to 10, step 1)
e = -2 (slider from -10 to 10, step 1)
f = 5 (slider from -10 to 10, step 1)
inec_1ma(x, y) = (a * x) + (b * y) ≥ e
inec_1me(x, y) = (a * x) + (b * y) ≤ e
inec_2me(x, y) = (c * x) + (d * y) ≤ f
inec_2ma(x, y) = (c * x) + (d * y) ≥ f
B = (-6, 5)
C = (8, 5)
recta_1: (a * x) + (b * y) = e
recta_2: (c * x) + (d * y) = f
D = Intersect(recta_2, recta_1)
D': D
txt1men: "" + a + "x + " + b + "y < " + e + ""
txt2men: "" + c + "x + " + d + "y < " + f + ""
txt1may: "" + a + "x +" + b + "y > " + e + ""
txt2may: "" + c + "x + " + d + "y > " + f + ""
A': A
txt2inec: "" + c + "x + " + d + " y = " + f + ""
txt1inec: "" + a + "x + " + b + "y = " + e + ""
h: x = f / c
g: x = e / a
campoDeTexto1 = Textfield(a)
campoDeTexto2 = Textfield(b)
campoDeTexto6 = Textfield(f)
campoDeTexto3 = Textfield(e)
campoDeTexto4 = Textfield(c)
campoDeTexto5 = Textfield(d)
txt1igual: "" + a + "x+" + b + "y=" + e + ""
txt2igual: "" + c + "x + " + d + "y = " + f + ""