Severity: Warning

Message: count(): Parameter must be an array or an object that implements Countable

Filename: controllers/calculator.php

Line Number: 37

- 1-800-665-6601
- info@tutorpace.com

linear function is maximized or minimized, then the maximum or the minimum value is calculated accordingly.

Linear programming calculator is the online tool which can evaluate the maximum or the minimum value of a

linear function.

the constraints are x≥ 0, y≥ 0 and x+ y ≤ 1.

Given objective function:p= 3x+ 2y

Now in order to find the maximum value of the objective function, we should first solve the equations of the

given constraints.

Solving equations x= 0 and y= 0 -> Intersection point = (0, 0) ->p= 0

Solving equations x= 0 and x+y=1 -> Intersection point= (0, 1)-> p= 2

Solving equations y= 0 and x + y=1-> Intersection point = (1, 0)->

the constraints are x≥ 0, y≥ 0 and 2x+ y ≤4.

Given objective function:p=5x- 4y

Now in order to find the maximum value of the objective function, we should first solve the equations of the

given constraints.

Solving equations x= 0 and y= 0-> Intersection point = (0, 0)-> p= 0

Solving equations x= 0 and 2x+y=4-> Intersection point= (0, 4)->

Solving equations y= 0 and 2x + y=4-> Intersection point = (2, 0)-> p= 10