document.write( "Question 870420: A doctor’s prescription calls for a daily intake containing 70 mg of vitamin C and 50 mg of Vitamin D. Your pharmacy stocks two compounds that can be used: one contains 40% vitamin C and 50% 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 #524843 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
A doctor’s prescription calls for a daily intake containing 70 mg of vitamin C and 50 mg of Vitamin D. Your pharmacy stocks two compounds that can be used: X contains 40% vitamin C and 50% vitamin D, and Y contains 40% vitamin C and 20% vitamin D. How many milligrams of each compound should be mixed to fill the prescription?
\n" ); document.write( "---------------------
\n" ); document.write( "Vit C Equation: 0.4x + 0.4y = 70 mg
\n" ); document.write( "Vit D Equatiion:0.5x + 0.2y = 50 mg
\n" ); document.write( "--------
\n" ); document.write( "4x + 4y = 700
\n" ); document.write( "5x + 2y = 500
\n" ); document.write( "--------------------
\n" ); document.write( "Modify for elimination:
\n" ); document.write( "4x + 4y = 700
\n" ); document.write( "10x + 4y = 1000
\n" ); document.write( "------------------------\r
\n" ); document.write( "\n" ); document.write( "6x = 300
\n" ); document.write( "x = 50 mg (amt of the \"X\" compound needed)
\n" ); document.write( "---
\n" ); document.write( "Solve for \"y\":
\n" ); document.write( "x + y = 175
\n" ); document.write( "50 + y = 175
\n" ); document.write( "y = 125 mg (amt of the \"Y\" compound needed)
\n" ); document.write( "===================
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "-------------------\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );