document.write( "Question 696889: A large group goes to a restaurant and orders chicken dinners for $8 and steak dinners for $9. If 27 people spend $235, how many have chicken and steak? How can I write a linear equation for this problem? \n" ); document.write( "
Algebra.Com's Answer #429451 by Stitch(470)\"\" \"About 
You can put this solution on YOUR website!
Let S = # of Steak dinners
\n" ); document.write( "Let C = Number of Chicken dinners
\n" ); document.write( "You would need to write two eqautions and see where they crossed.
\n" ); document.write( "Equation 1: \"S+%2B+C+=+27\"
\n" ); document.write( "Equation 2: \"9S+%2B+8C+=+235\"
\n" ); document.write( "-------------------------------
\n" ); document.write( "Solve equation 1 for one of the variables
\n" ); document.write( "Equation 1: \"S+%2B+C+=+27\"
\n" ); document.write( "\"S+=+27+-+C\"
\n" ); document.write( "Now plug (27 - C) into equation 2 for S
\n" ); document.write( "Equation 2: \"9S+%2B+8C+=+235\"
\n" ); document.write( "\"9%2A%2827+-+C%29+%2B+8C+=+235\"
\n" ); document.write( "Simplify
\n" ); document.write( "\"243+-+9C+%2B+8C+=+235\"
\n" ); document.write( "Combine like terms
\n" ); document.write( "\"243+-+C+=+235\"
\n" ); document.write( "Add C to both sides
\n" ); document.write( "\"243+=+235+%2B+C\"
\n" ); document.write( "Subtract 235 from both sides
\n" ); document.write( "\"highlight%288+=+C%29\"
\n" ); document.write( "Now plug 8 into equation 1 for C
\n" ); document.write( "Equation 1: \"S+%2B+C+=+27\"
\n" ); document.write( "\"S+%2B+%288%29+=+27\"
\n" ); document.write( "Subtract 8 from both sides
\n" ); document.write( "\"highlight_green%28S+=+19%29\"\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );