document.write( "Question 1171320: The senior class plans on selling clothing. The hats cost $5 apiece the t-shirts cost $9, and they have $2250 to spend purchasing the items. If their profit is $4 from each hat and $5 from each t-shirt, how many hats and t-shirts should they purchase in order to maximize their profit? \n" ); document.write( "
Algebra.Com's Answer #796295 by greenestamps(13200)\"\" \"About 
You can put this solution on YOUR website!


\n" ); document.write( "The only constraint on the numbers of hats and t-shirts is the amount of money they have to spend buying the items. Common sense -- or a basic familiarity with the formal method of solving this kind of problem -- tells us that the maximum profit is either with only hats or with only t-shirts.

\n" ); document.write( "For $2250, the maximum number of hats they can buy is 2250/5 = 450; by selling 450 shirts their profit would be 450*$4 = $1800.

\n" ); document.write( "For $2250, the maximum number of t-shirts they can buy is 2250/9 = 250; by selling 250 t-shirts their profit would be 250*$5 =$1250.

\n" ); document.write( "ANSWER: the maximum profit is obtained by buy and sell only 450 hats.

\n" ); document.write( "
\n" ); document.write( "
\n" );