document.write( "Question 1066773: Carlo and Anita make mailboxes and toys in their craft shop near Lincoln. Each mailbox requires 3 hours of work from Carlo and 4 hours from Anita. Each toy requires 2 hours of work from Carlo and 4 hours from Anita. Carlo cannot work more than 18 hours per week and Anita cannot work more than 32 hours per week. If each mailbox sells for $11 and each toy sells for $12​, then how many of each should they make to maximize their​ revenue? What is their maximum​ revenue? \n" ); document.write( "
Algebra.Com's Answer #681998 by ikleyn(52781)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "Carlo and Anita make mailboxes and toys in their craft shop near Lincoln.
\n" ); document.write( "Each mailbox requires 3 hours of work from Carlo and 4 hours from Anita.
\n" ); document.write( "Each toy requires 2 hours of work from Carlo and 4 hours from Anita.
\n" ); document.write( "Carlo cannot work more than 18 hours per week and
\n" ); document.write( "Anita cannot work more than 32 hours per week.
\n" ); document.write( "If each mailbox sells for $11 and each toy sells for $12,
\n" ); document.write( "then how many of each should they make to maximize their revenue? What is their maximum revenue?
\n" ); document.write( "~~~~~~~~~~~~~~~~~~~~\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "I re-formatted the input to provide the maximal readability (!!)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "The question is: how many mailboxes (X) and how many toys (Y) should be produced to maximize the revenue $11*X + $12*Y\r\n" );
document.write( "under these restrictions:\r\n" );
document.write( "\r\n" );
document.write( "3X + 2Y <= 18     (1)     (Carlo restricted by 18 hours per week) and\r\n" );
document.write( "4X + 4Y <= 32     (2)     (Anita restricted by 32 hours per week).\r\n" );
document.write( "\r\n" );
document.write( "In other words, you must maximize the objective function (revenue) \r\n" );
document.write( "\r\n" );
document.write( "R(X,Y) = 11X + 12Y\r\n" );
document.write( "\r\n" );
document.write( "over the domain on the plot below, which is  a quadrilateral in the first quadrant (X >= 0,  Y >= 0) restricted \r\n" );
document.write( "by the red and the green lines.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Plots y = \"%2818-3x%29%2F2\"  (red) and y = \"%2832-4x%29%2F4\" (green)\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "The method of linear programming says:\r\n" );
document.write( "\r\n" );
document.write( "    1) Take the vertices of this quadrilateral\r\n" );
document.write( "\r\n" );
document.write( "        (x1,Y1) = (0,8)   (green line Y-intercept)\r\n" );
document.write( "        (x2,Y2) = (6,0)   (red line X-intercept)\r\n" );
document.write( "        (x3,Y3) = (2,6)   (intersection point of the straight lines Y = \"%2818-3x%29%2F2\" and Y = \"%2832-4x%29%2F4\" )\r\n" );
document.write( "\r\n" );
document.write( "    2) Calculate the objective function at these points\r\n" );
document.write( "\r\n" );
document.write( "        R(X1,Y1) = 11*0 + 12*8 = 96;\r\n" );
document.write( "\r\n" );
document.write( "        R(X2,Y2) = 11*6 + 12*0 = 66;\r\n" );
document.write( "\r\n" );
document.write( "        R(X3,Y3) = 11*2 + 12*6 = 94.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    3) Then select one of these point where the objective function is maximal - In our case this point is (X1,Y1) = (0,8)\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    4) This point gives your optimal solution X = 0 mailboxes and Y = 8 toys.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "If they follow this optimal solution, their weekly revenue will be MAXIMAL, $96.\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "Solved.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );