document.write( "Question 1137186: A farmer wants to see that his herd gets the minimum daily requirement of three basic nutrients A, B and C. Daily requirements are 14 for A, 12 for B and 18 for C. Product y1 has two units of A, and one unit each of B and C; product y2 has one unit each of A and B, and three units of C. The cost of y1 is $2 and the cost of y2 is $4.Determine the least-cost combination of y1 and y2 .
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #755077 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
let x = the number of y1 products.
\n" ); document.write( "let y = the number of y2 products.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "product y1 has 2 units of A and 1 unit of B and 1 unit of C.
\n" ); document.write( "product y2 has 1 unit of A and 1 unit of B and 3 units of C.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the total total requirement is for 14 units of A and 12 units of B and 18 units of C.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "for the A requirement, your constraint equation is 2x + y >= 14
\n" ); document.write( "for the B requirement, your constraint equation is x + y >= 12
\n" ); document.write( "for the C requirement, your constraint equation is x + 3y >= 18\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "another requirement is that x can't be less than 0 and y can't be less than 0.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the inequality for that is x >= 0 and y >= 0.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "your objective function is cost = 2 * x + 4 * y.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "that's the function you want to minimize.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "using the desmos.com calculator, you would graph the opposite of the inequalities.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the area of the graph that is not shaded will be your region of feasibility.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "you will then evaluate your objective function at the corner points of this feasible region.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the corner point with the least cost and that satisfies the constraints is your solution.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the inequalities are:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "2x + y >= 14
\n" ); document.write( "x + y >= 12
\n" ); document.write( "x + 3y >= 18
\n" ); document.write( "x >= 0
\n" ); document.write( "y >= 0\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "you will graph:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "2x + y <= 14
\n" ); document.write( "x + y <= 12
\n" ); document.write( "x + 3y <= 18
\n" ); document.write( "x <= 0
\n" ); document.write( "y <= 0\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the area of the graph that is not shaded is your region of feasibility.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "here's that the graph looks like.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"$$$\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the corner point of the feasible region and the evaluation of the objective function at those corner points is:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the corner points are (0,14), (2,10), (9,3), (18,0).\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the objective function is evaluated at each corner point and the corner point with the least cost that satisfies the constraints is the solution.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "that point is (9,3) where the total cost is 2 * 9 + 4 * 3 = 18 + 12 = 30.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "you can check for yourself to see that this corner point has the least cost.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the constraints have to all be satisfied as well.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "at the corner point of (9,3), .....\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the number of units of A are 2 * 9 + 1 * 3 = 21 which is greater than or equal to 14.
\n" ); document.write( "the number of units of B are 1 * 9 + 1 * 3 = 12 which is greater than or equal to 12.
\n" ); document.write( "the number of units of C are 9 * 1 + 3 * 4 = 21 which is greater than or equal to 18.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the cost is minimum and all the constraints are satisfied, so you would buy 9 product y1 and 3 product y2 and your requirements will be satisfied and your cost will be minimum.\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );