document.write( "Question 1024750: John made two investments totaling $25,000. On one investment he made a 12% profit. On the other, he took a 19% loss. He made a net loss of $1,030. How much was in each investment? \n" ); document.write( "
Algebra.Com's Answer #640119 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
x = amount of investment that made a 12% profit.
\n" ); document.write( "y = amount of investment that made a 19% loss.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "you have 2 equations.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x + y = 25000\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( ".12x - .19y = 1030\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "solve for y in the first equation to get y = 25000 - x.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "replace y with that in the second equation to get .12x - .19 * (25000 - x) = 1030.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "solve for x in the second equation to get x = 18645.16129.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "since y = 25000 - x, you get y = 6354.83871.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "john invested 18645.16129 that earned 12% profit.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "his profit was .12 * 18645.16129 = 2237.419355.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "john invested 6354.83871 that earned him 19% loss.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "his loss was .19 * 6354.83871 = 1207.419355.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "his net profit was 2237.419355 - 1207.419355 = 1030.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );