document.write( "Question 1199213: A candy manufacturer makes two types of special candy, say A and B. Candy A consists of equal
\n" ); document.write( "part of dark chocolate and caramel and Candy B consists of two parts of dark chocolate and one\r
\n" ); document.write( "\n" ); document.write( "part of walnut. The company has in stock 430 kilograms of caramel, 360 kilograms of dark\r
\n" ); document.write( "\n" ); document.write( "chocolate, and 210 kilograms of walnuts. The company sells Candy A for P285 and Candy B for\r
\n" ); document.write( "\n" ); document.write( "P260 per kilograms. How much of each candy should the manufacturer produce to maximize profit?​
\n" ); document.write( "

Algebra.Com's Answer #832994 by Shin123(626)\"\" \"About 
You can put this solution on YOUR website!
Let \"x\" be the amount (in kilograms) of Candy A that is produced, and let \"y\" be the amount of Candy B that is produced. The profit that the manufacturer makes is \"285x%2B260y\". However, the constraints are that \"x%3C=430\", \"x%2B2y%3C=360\", and \"y%3C=210\".
\n" ); document.write( "We can see that it is optimal to have \"x%2B2y=360\", since moving it off of that line would only decrease the profit. Multiplying both sides of that by \"130\", we get \"130x%2B260y=46800\". Adding \"155x\" to both sides, we get \"285x%2B260y=155x%2B46800\". We can see that we got out profit into a form that doesn't involve \"y\" at all, so we should just maximize \"x\". The highest value of \"x\" that satisfies all of the constriants is \"x=360\". Therefore, the candy manufacturer should produce \"360\" kilograms of Candy A, and \"0\" kilograms of Candy B.
\n" ); document.write( "
\n" );