document.write( "Question 822251: The math club is selling pizza and lemonade to raise money for a field trip. the trip will cost $450
\n" ); document.write( "If they sell pizza for $1 per slice for and lemonade$2 a bottle and sold 190 items. How many of each did they sell?\r
\n" ); document.write( "\n" ); document.write( "The sum of 2 numbers is 87. the first number is 3 more than twice the second number.\r
\n" ); document.write( "\n" ); document.write( "2x+3y=12
\n" ); document.write( "X=y+4
\n" ); document.write( "

Algebra.Com's Answer #494732 by TimothyLamb(4379)\"\" \"About 
You can put this solution on YOUR website!
---
\n" ); document.write( "you have 3 different problems here:
\n" ); document.write( "---
\n" ); document.write( "first problem (pizza and lemonade):
\n" ); document.write( "---
\n" ); document.write( "x + 2y = 450
\n" ); document.write( "x + y = 190
\n" ); document.write( "y = 190 - x
\n" ); document.write( "---
\n" ); document.write( "x + 2(190 - x) = 450
\n" ); document.write( "x + 380 - 2x = 450
\n" ); document.write( "---
\n" ); document.write( "x = pizza slices sold = -70 (nobody can sell a negative number of pizza slices)
\n" ); document.write( "y = lemonades sold = 260
\n" ); document.write( "---
\n" ); document.write( "answer:
\n" ); document.write( "the problem statement contains an error because the equations yield a nonsensical solution.
\n" ); document.write( "---
\n" ); document.write( "second problem:
\n" ); document.write( "x + y = 87
\n" ); document.write( "x = 2y + 3
\n" ); document.write( "---
\n" ); document.write( "put the system of linear equations into standard form
\n" ); document.write( "---
\n" ); document.write( "x + y = 87
\n" ); document.write( "x - 2y = 3
\n" ); document.write( "---
\n" ); document.write( "solve by matrix method (the below solver uses the matrix method):
\n" ); document.write( "---
\n" ); document.write( "copy and paste the above standard form linear equations in to this solver:
\n" ); document.write( "https://sooeet.com/math/system-of-linear-equations-solver.php
\n" ); document.write( "---
\n" ); document.write( "answer:
\n" ); document.write( "x= 59
\n" ); document.write( "y= 28
\n" ); document.write( "---
\n" ); document.write( "solve by elimination:
\n" ); document.write( "---
\n" ); document.write( "x + y = 87
\n" ); document.write( "-x + 2y = -3
\n" ); document.write( "---
\n" ); document.write( "add:
\n" ); document.write( "3y = 84
\n" ); document.write( "---
\n" ); document.write( "answer (same as obtained by the matrix method above):
\n" ); document.write( "y = 28
\n" ); document.write( "x = 59
\n" ); document.write( "---
\n" ); document.write( "third problem:
\n" ); document.write( "---
\n" ); document.write( "2x + 3y = 12
\n" ); document.write( "x = y + 4
\n" ); document.write( "---
\n" ); document.write( "put the system of linear equations into standard form
\n" ); document.write( "---
\n" ); document.write( "2x + 3y = 12
\n" ); document.write( "x - y = 4
\n" ); document.write( "---
\n" ); document.write( "solve by matrix method (the below solver uses the matrix method):
\n" ); document.write( "---
\n" ); document.write( "copy and paste the above standard form linear equations in to this solver:
\n" ); document.write( "https://sooeet.com/math/system-of-linear-equations-solver.php
\n" ); document.write( "---
\n" ); document.write( "answer:
\n" ); document.write( "x= 4.8
\n" ); document.write( "y= 0.8
\n" ); document.write( "---
\n" ); document.write( "solve by elimination:
\n" ); document.write( "---
\n" ); document.write( "2x + 3y = 12
\n" ); document.write( "-2x + 2y = -8
\n" ); document.write( "---
\n" ); document.write( "add:
\n" ); document.write( "5y = 4
\n" ); document.write( "---
\n" ); document.write( "answer (same as obtained by the matrix method above):
\n" ); document.write( "y = 4/5 = 0.8
\n" ); document.write( "x = 4.8
\n" ); document.write( "---
\n" ); document.write( "Solve and graph linear equations:
\n" ); document.write( "https://sooeet.com/math/linear-equation-solver.php
\n" ); document.write( "---
\n" ); document.write( "Solve quadratic equations, quadratic formula:
\n" ); document.write( "https://sooeet.com/math/quadratic-formula-solver.php
\n" ); document.write( "---
\n" ); document.write( "Solve systems of linear equations up to 6-equations 6-variables:
\n" ); document.write( "https://sooeet.com/math/system-of-linear-equations-solver.php
\n" ); document.write( "
\n" );