document.write( "Question 1182966: An oil refinery refines types 1 and 2 of crude oil and can refine as much as 4000 barrels each week. Type 1 crude has 2 kg of impurities per barrel, type 2 has 3 kg of impurities per barrel,and the refinery can handle no more than 9000 kg of these impurities each week.How much of each type should be refined in order to maximize profits, if the profit is R25/barrel for type 1 and R30/barrel for type 2? \n" ); document.write( "
Algebra.Com's Answer #813097 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
x = number of barrels of type 1
\n" ); document.write( "y = number of barrels of type 2\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "your constraints are:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x + y <= 4000
\n" ); document.write( "2x + 3y <= 9000\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "your would graph the opposite of these inequalities in the desmos.com calculator.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the unshaded area is your region of feasibility.
\n" ); document.write( "the maximum profit is at the corners of the region of feasibility.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "your graph looks like this:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "your corner points are (x,y) = (0,3000), (3000,1000), (4000,0)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "your objective function is 25x + 30y.
\n" ); document.write( "this is what you want to maximize.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "you evalute the objective function at each of your corner points.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "(0,3000) = 0 * 25 + 3000 * 30 = 90,000
\n" ); document.write( "(3000,1000) = 3000 * 25 + 1000 * 30 = 105,000
\n" ); document.write( "(4000,0) = 4000 * 25 + 0 * 30 = 100,000\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "your maximum profit is when you refine 3000 barrels of type 1 and 1000 barrels of type 2.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "all your constraints need to be satisfied.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "at your maximum point of (3000,1000), .....\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x + y = 4000 <= 4000
\n" ); document.write( "2x + 3y = 2 * 3000 + 3 * 1000 = 6000 + 3000 = 9000 <= 9000\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "all your constraints are satisfied at your maximum profit point.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "all looks good.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "your solution is that 3000 barrels of type 1 and 1000 barrels of type 2 need to be refined for maximum profit.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );