document.write( "Question 647353: A bag contain 3 types of coins namely $1, $2, $5. There are 30 coins
\n" ); document.write( "amounting to $100 in total. There are twice as many $2 coins as $1
\n" ); document.write( "coins. Find the number of coins in each category using Cramer's rule.
\n" ); document.write( "

Algebra.Com's Answer #406146 by Edwin McCravy(20086)\"\" \"About 
You can put this solution on YOUR website!
A bag contain 3 types of coins namely $1, $2, $5. There are 30 coins
\n" ); document.write( "amounting to $100 in total. There are twice as many $2 coins as $1
\n" ); document.write( "coins. Find the number of coins in each category using Cramer's rule.
\n" ); document.write( "
\r\n" );
document.write( "Let x = the number of $1 coins\r\n" );
document.write( "Let y = the number of $2 coins\r\n" );
document.write( "Let z = the number of $5 coins\r\n" );
document.write( "\r\n" );
document.write( " x +  y +  z =  30     <-- 30 coins\r\n" );
document.write( "1x + 2y + 5z = 100     <-- $100 total\r\n" );
document.write( "           y = 2x      <-- twice as many $2 coins as $1 coins\r\n" );
document.write( "\r\n" );
document.write( "Rearrange the 3rd equation, so that like letters line up in the\r\n" );
document.write( "system:\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "  x +  y +  z =  30   \r\n" );
document.write( "  x + 2y + 5z = 100     \r\n" );
document.write( "-2x +  y      =   0\r\n" );
document.write( "\r\n" );
document.write( "To solve using Cramer's rule:\r\n" );
document.write( " \r\n" );
document.write( "Write in all the 1 coefficients and 0 for\r\n" );
document.write( "the coefficient of the missing variable z in the\r\n" );
document.write( "third equation:\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Cramer's rule:\r\n" );
document.write( " \r\n" );
document.write( "There are 4 columns,\r\n" );
document.write( " \r\n" );
document.write( "1. The column of x-coefficients \"matrix%283%2C1%2C1%2C1%2C-2%29\"\r\n" );
document.write( " \r\n" );
document.write( "2. The column of y-coefficients \"matrix%283%2C1%2C1%2C2%2C1%29\"\r\n" );
document.write( " \r\n" );
document.write( "3. The column of z-coefficients \"matrix%283%2C1%2C1%2C5%2C0%29\" \r\n" );
document.write( " \r\n" );
document.write( "4. The column of constants:     \"red%28matrix%283%2C1%2C30%2C100%2C0%29%29\"\r\n" );
document.write( " \r\n" );
document.write( "There are four determinants:\r\n" );
document.write( " \r\n" );
document.write( "1. The determinant \"D\" consists of just the three columns\r\n" );
document.write( "of x, y, and z coefficients. in that order, but does not\r\n" );
document.write( "contain the column of constants.\r\n" );
document.write( " \r\n" );
document.write( "\"D=abs%28matrix%283%2C3%2C1%2C1%2C1%2C1%2C2%2C5%2C-2%2C1%2C0%29%29\". \r\n" );
document.write( " \r\n" );
document.write( "It has value \"D=-10\".  I'm assuming you know how to find the\r\n" );
document.write( "value of a 3x3 determinant, for that's a subject all by itself.\r\n" );
document.write( "If you don't know how, post again asking how. \r\n" );
document.write( " \r\n" );
document.write( "2. The determinant \"D%5Bx%5D\" is like the determinant \"D\"\r\n" );
document.write( "except that the column of x-coefficients is replaced by the\r\n" );
document.write( "column of constants.  \"D%5Bx%5D\" does not contain the column \r\n" );
document.write( "of x-coefficients.\r\n" );
document.write( " \r\n" );
document.write( ".\r\n" );
document.write( " \r\n" );
document.write( "It has value \"D%5Bx%5D=-50\".\r\n" );
document.write( " \r\n" );
document.write( "3. The determinant \"D%5By%5D\" is like the determinant \"D\"\r\n" );
document.write( "except that the column of y-coefficients is replaced by the\r\n" );
document.write( "column of constants.  \"D%5By%5D\" does not contain the column \r\n" );
document.write( "of y-coefficients.\r\n" );
document.write( " \r\n" );
document.write( ".\r\n" );
document.write( " \r\n" );
document.write( "It has value \"D%5By%5D=-100\".\r\n" );
document.write( " \r\n" );
document.write( "4. The determinant \"D%5Bz%5D\" is like the determinant \"D\"\r\n" );
document.write( "except that the column of z-coefficients is replaced by the\r\n" );
document.write( "column of constants.  \"D%5Bz%5D\" does not contain the column \r\n" );
document.write( "of z-coefficients.\r\n" );
document.write( " \r\n" );
document.write( ".\r\n" );
document.write( " \r\n" );
document.write( "It has value \"D%5Bx%5D=-150\".\r\n" );
document.write( " \r\n" );
document.write( "Now the formulas for x, y and z are\r\n" );
document.write( " \r\n" );
document.write( "\"x=D%5Bx%5D%2FD=%28-50%29%2F%28-10%29=5\"\r\n" );
document.write( "\"y=D%5By%5D%2FD=%28-100%29%2F%28-10%29=10\"\r\n" );
document.write( "\"x=D%5Bz%5D%2FD=%28-150%29%2F%28-10%29=15\"\r\n" );
document.write( "\r\n" );
document.write( "Answer: 5 $1 coins, 10 $2 coins, 15, $5 coins`\r\n" );
document.write( " \r\n" );
document.write( "Edwin
\n" ); document.write( "
\n" );