document.write( "Question 1169967: You are selling Gertrude Hawk bars to raise money for the Math Club . Peanut butter bars cost $1.50 and crispy bars cost $1.25. All together you made $147.25 by selling 102 candy bars. How many of each kind did you sell? \n" ); document.write( "
Algebra.Com's Answer #794819 by josgarithmetic(39617)\"\" \"About 
You can put this solution on YOUR website!
--------------------------------------------------------------------
\n" ); document.write( " Peanut butter bars cost $1.50 and crispy bars cost $1.25. All together you made $147.25 by selling 102 candy bars.
\n" ); document.write( "-------------------------------------------------------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "p, how many peanut butter bars sold
\n" ); document.write( "Q, total number of candy bars sold
\n" ); document.write( "Q-p, how many crispy bars sold
\n" ); document.write( "R, the sales revenue for all the Q bars sold
\n" ); document.write( "L, price for crispy bars
\n" ); document.write( "H, price for peanut butter bars\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"highlight_green%28Hp%2BL%28Q-p%29=R%29\"\r
\n" ); document.write( "\n" ); document.write( "-\r
\n" ); document.write( "\n" ); document.write( "\"Hp%2BLQ-Lp=R\"
\n" ); document.write( "\"%28H-L%29p=R-LQ\"\r
\n" ); document.write( "\n" ); document.write( "\"highlight%28p=%28R-LQ%29%2F%28H-L%29%29\"------quantity of the peanut bars sold\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "--
\n" ); document.write( "H=1.5 dollars per bar
\n" ); document.write( "L-1.25 dollars per bar
\n" ); document.write( "Q=102 candy bars
\n" ); document.write( "R=147.25 dollars\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Substitute those into the formula for p.
\n" ); document.write( "
\n" ); document.write( "
\n" );