document.write( "Question 856061: An investor has $5000 to invest and decides to invest some of it with company A and the rest with company B. After one year each $1 invested with company A has grown to $1.20, each dollar invested with company B has grown to $1.05 and the $5000 has grown to $5670. How much of the original $5000 was invested with each company? \n" ); document.write( "
Algebra.Com's Answer #515708 by ramkikk66(644)\"\" \"About 
You can put this solution on YOUR website!
\r\n" );
document.write( "Say he invested $x in A. So amount invested in B is 5000 - x.\r\n" );
document.write( "Total earned from A = 1.2 * x  ---> every $ becomes $1.2\r\n" );
document.write( "Total earned from B = 1.05 * (5000 - x) ----> every $ becomes $1.05\r\n" );
document.write( "\r\n" );
document.write( "Total = \"1.2%2Ax+%2B+1.05%2A%285000+-+x%29+=+5670\"\r\n" );
document.write( "i.e. \"1.2%2Ax+%2B+5250+-+1.05%2Ax+=+5670\"\r\n" );
document.write( "Simplifying:\r\n" );
document.write( "\"0.15%2Ax+=+420\" or \"x+=+2800\"\r\n" );
document.write( "So, amount invested in A is $2800, and that invested in B is $2200.\r\n" );
document.write( "Check: 2800 becomes 2800  * 1.2 = 3360\r\n" );
document.write( "2200 becomes 2200 * 1.05 = 2310\r\n" );
document.write( "Total = 3360 + 2310 = 5670. Correct!\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Hope this is clear :)\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );