document.write( "Question 1198290: Cherries cost ​$​4/lb. Grapes cost ​$​2.50/lb. You can spend no more than ​$15 on​ fruit, and you need at least 4lb in all. Create a graph showing the amount of each fruit you can buy. \n" ); document.write( "
Algebra.Com's Answer #831852 by ikleyn(52781)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "Cherries cost ​$​4/lb. Grapes cost ​$​2.50/lb. You can spend no more than ​$15 on​ fruit,
\n" ); document.write( "and you need at least 4lb in all. Create a graph showing the amount of each fruit you can buy.
\n" ); document.write( "~~~~~~~~~~~~~~~~~~~\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "            The \"solution \" presented in the post by @josgarithmetic is incorrect \r
\n" ); document.write( "\n" ); document.write( "            starting from the third line of his post to the end.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "            I came to bring you a correct solution.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "x pounds of cherries\r\n" );
document.write( "y pounds of grapes\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Restrictions\r\n" );
document.write( "\r\n" );
document.write( "    4x + 2.5y <= 15,\r\n" );
document.write( "     x +    y >=  4\r\n" );
document.write( "    x >= 0,  y >= 0.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Plot the lines\r\n" );
document.write( "\r\n" );
document.write( "    y = -(4/2.5)x + 15/2.5   (red   line in the plot below)\r\n" );
document.write( "    y =  4 - x               (green line in the plot below)\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    \"graph%28400%2C400%2C-2%2C10%2C-2%2C10%2C+-1.6x%2B6%2C+4-x%29\"\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "The solution domain is in the first quadrant below the red line    (including the red line) \r\n" );
document.write( "                                         and above the green line  (including the green line).\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "So, the solutions are the points inside the triangle under the red line, attached to y-axis and above the blue line.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "For example, x = 2, y = 2 is the solution (2 pounds of cherries and 2 pounds of grapes).\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "Solved in a right way, with complete explanations.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "----------------\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Ignore the post by @jodgarithmetic, for the sake of safety of your mind.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );