document.write( "Question 1040425: QUESTION 2:
\n" ); document.write( "A gas station sells three types of gas: Regular for $2.85 a gallon, Performance Plus for $3.10 a gallon, and Premium for $3.35 a gallon.
\n" ); document.write( "On a particular day 4000 gallons of gas were sold for a total of $12,125. Two times as many gallons of Regular as Premium gas were sold. How many gallons of each type of gas were sold that day?
\n" ); document.write( "I came up with the following system:
\n" ); document.write( "x+y+z=4000
\n" ); document.write( "2.85x+3.10y+3.35z=12125
\n" ); document.write( "x=2x
\n" ); document.write( "I tried using matrices but the answers I get do not work when plugged back into the system. These problems confuse the heck out of me!\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "THANK YOU!!!!!!
\n" ); document.write( "

Algebra.Com's Answer #655247 by ikleyn(52800)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "QUESTION 2:
\n" ); document.write( "A gas station sells three types of gas: Regular for $2.85 a gallon, Performance Plus for $3.10 a gallon, and Premium for $3.35 a gallon.
\n" ); document.write( "On a particular day 4000 gallons of gas were sold for a total of $12,125.
\n" ); document.write( "Two times as many gallons of Regular as Premium gas were sold. How many gallons of each type of gas were sold that day?
\n" ); document.write( "I came up with the following system:
\n" ); document.write( "x+y+z=4000
\n" ); document.write( "2.85x+3.10y+3.35z=12125
\n" ); document.write( "x=2x
\n" ); document.write( "I tried using matrices but the answers I get do not work when plugged back into the system. These problems confuse the heck out of me!\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "THANK YOU!!!!!!
\n" ); document.write( "~~~~~~~~~~~~~~~~~~~~~~~~~\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The equation x = 2x is incorrect. It should be x = 2z.\r
\n" ); document.write( "\n" ); document.write( "
 \r\n" );
document.write( "So your system is\r\n" );
document.write( "\r\n" );
document.write( "    x +     y +     z =  4000,   (1)\r\n" );
document.write( "2.85x + 3.10y + 3.35z = 12125,   (2)\r\n" );
document.write( "x = 2z.                          (3)\r\n" );
document.write( "\r\n" );
document.write( "or\r\n" );
document.write( "\r\n" );
document.write( "    x +     y +   x/2      =  4000,   (1')\r\n" );
document.write( "2.85x + 3.10y + 3.35*(x/2) = 12125    (2')\r\n" );
document.write( "\r\n" );
document.write( "(no \"z\". \"z\" is just excluded).  Multiply (1') and (2') by 2 (both sides) and collect the like terms.\r\n" );
document.write( "\r\n" );
document.write( "3x    + 2y    =  8000,       (3)\r\n" );
document.write( "9.05x + 6.20y = 24250.       (4)\r\n" );
document.write( "\r\n" );
document.write( "I just did enough for you :=).\r\n" );
document.write( "\r\n" );
document.write( "Can you complete on your own from this point?\r\n" );
document.write( "\r\n" );
document.write( "Apply the substitution method. Express x from (3) an then substitute into (4).   Good luck !\r\n" );
document.write( "\r\n" );
document.write( "Let me know if you still have problems.\r\n" );
document.write( "

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