document.write( "Question 1073018: A doctor's prescription calls for a daily intake containing 50 mg of vitamin C and 10 mg of vitamin D. Your pharmacy stocks two compounds that can be used: one contains 80% vitamin D, the other 40% vitamin C and 20% vitamin D. How many milligrams of each compound should be mixed to fill the prescription? \n" ); document.write( "
Algebra.Com's Answer #687929 by josgarithmetic(39620)\"\" \"About 
You can put this solution on YOUR website!
\r\n" );
document.write( "ONE DAY'S WORTH OF PRESCRIPTION\r\n" );
document.write( "--------------------------------------------------------------------\r\n" );
document.write( "\r\n" );
document.write( "             mgs of compound       Vitamin C        Vitamin D\r\n" );
document.write( "\r\n" );
document.write( "The One           x                 0                0.8x\r\n" );
document.write( "\r\n" );
document.write( "The Other         y                0.4y              0.2y\r\n" );
document.write( "\r\n" );
document.write( "Totals                             50                 10\r\n" );
document.write( "
\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"system%280.4y=50%2C0.8x%2B0.2y=10%29\"
\n" ); document.write( "Solve this system for x and y.
\n" ); document.write( "
\n" );