document.write( "Question 1172548: The homecoming dance at Liberty High School happened last Saturday. Many students bought tickets in advance for $5 each. Other students bought tickets at the door for $7 each. In all, 290 students attended the dance and $1790 was the total for all ticket sales. Find out how many students bought tickets in advance and how many bought tickets at the door. \n" ); document.write( "
Algebra.Com's Answer #797618 by ikleyn(52787)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "The homecoming dance at Liberty High School happened last Saturday. Many students bought tickets in advance for $5 each.
\n" ); document.write( "Other students bought tickets at the door for $7 each. In all, 290 students attended the dance and $1790 was the total for all ticket sales.
\n" ); document.write( "Find out how many students bought tickets in advance and how many bought tickets at the door.
\n" ); document.write( "~~~~~~~~~~~~~~~~~~~~~~\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "Let x be the number of the $7 tickets;\r\n" );
document.write( "\r\n" );
document.write( "then the number of the $5 tickets is (290-x).\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "The total money equation is\r\n" );
document.write( "\r\n" );
document.write( "    7x + 5*(290-x) = 1790  dollars.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "From the equation\r\n" );
document.write( "\r\n" );
document.write( "    x = \"%281790+-+5%2A290%29%2F%287-5%29\" = 170.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "ANSWER.  170 \"at the door\" tickets and (290-170) = 120 \"advance\" tickets.'\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "CHECK.  170*7 + 120*5 = 1790 dollars, total.    ! Correct !\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "Solved.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "-------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "It is a standard and typical tickets problem.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "There are different methods of solving such problems.
\n" ); document.write( "In this site, there are lessons\r
\n" ); document.write( "\n" ); document.write( "    - Using systems of equations to solve problems on tickets \r
\n" ); document.write( "\n" ); document.write( "    - Three methods for solving standard (typical) problems on tickets\r
\n" ); document.write( "\n" ); document.write( "explaining and showing all basic methods of solving such problems.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "From these lessons,  learn on how to solve such problems once and for all.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Also,  you have this free of charge online textbook in ALGEBRA-I in this site\r
\n" ); document.write( "\n" ); document.write( "    - ALGEBRA-I - YOUR ONLINE TEXTBOOK.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The referred lesson is the part of this online textbook under the topic \"Systems of two linear equations in two unknowns\".\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Save the link to this online textbook together with its description\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Free of charge online textbook in ALGEBRA-I
\n" ); document.write( "https://www.algebra.com/algebra/homework/quadratic/lessons/ALGEBRA-I-YOUR-ONLINE-TEXTBOOK.lesson\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "to your archive and use it when it is needed.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );