document.write( "Question 1144331: A village has a population of 500 and a play is performed in that village. Men play - 748 rupees, women - 712 rupees and children - 45 rupees to watch the play. The theater company receives a total of Rs. 300,000 (3 lakhs). So what will be the number of men, women and children in that village? \n" ); document.write( "
Algebra.Com's Answer #765411 by ikleyn(52788)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "
\r\n" );
document.write( "From the condition, you have these two equations\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "      x +     y +    z =    500    (1)\r\n" );
document.write( "\r\n" );
document.write( "  748*x + 712*y + 45*z = 300000    (2)\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "where x is the number of men, y is the number of women and z is the number of children.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "From equation (1), express z = 500-x-y  and substitute it into equation (2). You will get\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "  748*x + 712*y + 45*(500-x-y) = 300000.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Simplify it\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "  703x  + 667y  = 300000 - 45*500 = 277500.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Now we should find integer solution/solutions to the last equation.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "The simplest way is to express y = \"%28275000-703x%29%2F667\", put this formula into Excel, run for x= 1, 2, 3, 4, . . . and search for integer y\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "In this way I got the integer solution  x = 149,   y = 259.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Then z = 500-x-y = 500-149-259 = 92.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "ANSWER.  149 men,  259 women and 92 children.\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "Solved.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );