document.write( "Question 1149106: A man saved 3000 in a bank p, whose interest rate was X% per annum and 2000 in another bank Q whose interest rate was Y% per annum. His total interest in one year was 640. If he had saved 2000 in P and 3000 in Q for the same period, he would have gained 20 as additional interest. Find
\n" ); document.write( "(I) the value of x and Y.
\n" ); document.write( "(II) the investment return if the man saves 5000 in bank Q for 2years.
\n" ); document.write( "

Algebra.Com's Answer #770435 by Boreal(15235)\"\" \"About 
You can put this solution on YOUR website!
interest in first part is 3000*p+2000*q=64000, because I multiplied the interest by 10 to make it an integer
\n" ); document.write( "this is 3p+2q=64
\n" ); document.write( "the second is 2000*p+3000q=66000
\n" ); document.write( "2p+3q=66; multiply top by 2 and bottom by -3
\n" ); document.write( "6p+4q=128
\n" ); document.write( "-6p-9q=-198
\n" ); document.write( "-5q=-70
\n" ); document.write( "q=14%
\n" ); document.write( "p=12% substituting\r
\n" ); document.write( "\n" ); document.write( "5000*0.14*2=$1400 earned at a 14% rate.
\n" ); document.write( "
\n" ); document.write( "
\n" );