document.write( "Question 1184544: Abu came out of the bakery shop after spending RM 320 on carrot cakes, cheese cakes
\n" ); document.write( "and chocolate cakes for his school’s Canteen Day. Altogether, he bought 21 cakes. The
\n" ); document.write( "prices for each carrot cake, cheese cake and chocolate cake are RM 10, RM 20 and RM
\n" ); document.write( "15 respectively. The number of chocolate cakes bought was twice the total number of
\n" ); document.write( "carrot and cheese cakes. By using inverse matrix method, find how many each type of
\n" ); document.write( "cakes that Abu has bought.
\n" ); document.write( "

Algebra.Com's Answer #815242 by robertb(5830)\"\" \"About 
You can put this solution on YOUR website!
Let x = # of carrot cakes, y = # of cheese cakes, and z = # of chocolate cakes.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "===> The system is \"system%28matrix%283%2C1%2C+x%2By%2Bz+=+21%2C+10x%2B20y%2B15z+=+320%2C+z+=+2x%2B2y%29%29\", or \"system%28matrix%283%2C1%2C+x%2By%2Bz+=+21%2C+2x%2B4y%2B3z+=+64%2C+2x%2B2y-z=0%29%29\", or equivalently.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "===> .\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "I now refer you to https://www.emathhelp.net/calculators/linear-algebra/inverse-of-matrix-calculator/,
\n" ); document.write( "where the inverse of the above matrix can be calculated with all steps shown.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "===> .\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The number of each type of cake bought is now clear.
\n" ); document.write( "
\n" ); document.write( "
\n" );