document.write( "Question 131861: At the highschool 1/2 the boys and 1/3 of the girls attend homecoming game. 1/3 of the boys and 1/2 of the girls attended the homecoming dance. There were 570 students at the game and 580 students at the dance how many boys and girls attend the school.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Thanks for the help.
\n" ); document.write( "

Algebra.Com's Answer #96297 by priya_2685(3)\"\" \"About 
You can put this solution on YOUR website!
let the no. of boys be x and the no. of girls be y
\n" ); document.write( " so, according to problem
\n" ); document.write( "1/2^x+ 1/3^y=570.....(1)
\n" ); document.write( "1/3^x+1/2^y= 580.....(2)\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( " \n" ); document.write( "\n" ); document.write( " \n" ); document.write( "\n" ); document.write( "
Solved by pluggable solver: SOLVE linear system by SUBSTITUTION
Solve:
\n" ); document.write( " We'll use substitution. After moving 0.333333333333333*y to the right, we get:
\n" ); document.write( " \"0.5%2Ax+=+570+-+0.333333333333333%2Ay\", or \"x+=+570%2F0.5+-+0.333333333333333%2Ay%2F0.5\". Substitute that
\n" ); document.write( " into another equation:
\n" ); document.write( " \"0.333333333333333%2A%28570%2F0.5+-+0.333333333333333%2Ay%2F0.5%29+%2B+0.5%5Cy+=+580\" and simplify: So, we know that y=720. Since \"x+=+570%2F0.5+-+0.333333333333333%2Ay%2F0.5\", x=660.
\n" ); document.write( "
\n" ); document.write( " Answer: \"system%28+x=660%2C+y=720+%29\".
\n" ); document.write( "

\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "therefore, no. of boys= x= 660
\n" ); document.write( " no. of girls= y= 720
\n" ); document.write( "
\n" ); document.write( "
\n" );