document.write( "Question 1204971: Andre is organizing a charity event where he plans to sell two types of items: T-shirts and hats. The selling price for a T-shirt is $15, and the selling price for a hat is $10. Andre wants to sell at least 50 items in total and make a minimum of $600 in sales. If he knows that he can sell at most 40 T-shirts, and he wants to sell at least twice as many T-shirts as hats, how many of each item should he sell to meet his goals? \n" ); document.write( "
Algebra.Com's Answer #841552 by ikleyn(52847)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "Andre is organizing a charity event where he plans to sell two types of items: T-shirts and hats.
\n" ); document.write( "The selling price for a T-shirt is $15, and the selling price for a hat is $10.
\n" ); document.write( "Andre wants to sell at least 50 items in total and make a minimum of $600 in sales.
\n" ); document.write( "If he knows that he can sell at most 40 T-shirts, and he wants to sell at least twice as many
\n" ); document.write( "T-shirts as hats, how many of each item should he sell to meet his goals?
\n" ); document.write( "~~~~~~~~~~~~~~~~~~~~~~~~\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "This problem is on solving a system of inequalities in integer non-negative numbers.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Let x be the number of T-shirt;\r\n" );
document.write( "    y be the number of hats.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "The inequalities are\r\n" );
document.write( "\r\n" );
document.write( "      x +   y >= 50    (1)     (Andre wants to sell at least 50 items in total)\r\n" );
document.write( "\r\n" );
document.write( "    15x + 10y >= 600   (2)     (Andre wants to make a minimum of $600 in sales)\r\n" );
document.write( "\r\n" );
document.write( "      x       <=  40   (3)     (he can sell at most 40 T-shirts_\r\n" );
document.write( "\r\n" );
document.write( "      x       >=  2y   (4)     (he wants to sell at least twice as many T-shirts as hats)\r\n" );
document.write( "\r\n" );
document.write( "      x >= 0,  y >= 0  (5)     (standard non-negativity inequalities)\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Next you take a graph paper and draw the corresponding lines and mark corresponding areas.\r\n" );
document.write( "\r\n" );
document.write( "Your solution are integer points of the graph paper in the intersection of all areas (if such points do exist).\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "It is \"WHAT to do\" and \"HOW to do\" to solve the problem on your own.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The problem may have more than one solution, but it is not a catastrophic event - it is very normal, if it is so.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "It is a standard procedure to solve a school problem on inequalities in integer numbers in 2D plane
\n" ); document.write( "(= for two variables) graphically.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "To facilitate your job, you can use free of charge plotting tool at web-site\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "www.desmos.com/calculator\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "In this case, you should print each and every inequality (1) - (5) in their specialized window.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The intersection of all relevant regions is the solution set, and you need integer points of the grid in the solution set.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );