document.write( "Question 1167625: Omar purchased a box of popsicles for $210. He ate 25 of them, and then sold the rest to his friends marking a profit of $1.25 on each one. How many popsicles were in the box and what was the original price for each? \n" ); document.write( "
Algebra.Com's Answer #792435 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
Omar purchased a box of popsicles for $210.
\n" ); document.write( " He ate 25 of them, and then sold the rest to his friends marking a profit of $1.25 on each one.
\n" ); document.write( " How many popsicles were in the box and what was the original price for each
\n" ); document.write( ":
\n" ); document.write( "let x = original number of popsicles
\n" ); document.write( "then
\n" ); document.write( "(x-25) = no. of friend's popsicles
\n" ); document.write( ":
\n" ); document.write( "Cost to friends - original cost = profit
\n" ); document.write( "\"210%2F%28%28x-25%29%29\" - \"210%2Fx\" = 1.25
\n" ); document.write( "multiply by x(x-25), cancel denominators
\n" ); document.write( "210x - 210(x-25) = 1.25x(x-25)
\n" ); document.write( "210x - 210x + 5250 = 1.25x^2 - 31.25x
\n" ); document.write( "arrange as a quadratic equation
\n" ); document.write( "1.25x^2 - 31.25x - 5250 = 0
\n" ); document.write( "simplify, divide by 1.25
\n" ); document.write( "x^2 - 25x - 4200 = 0
\n" ); document.write( "Using the quadratic formula I got x = 78.5 which is not an integer
\n" ); document.write( "I'm not sure what's going on here.
\n" ); document.write( "Original price would be 210/78.5 ~ $2.66
\n" ); document.write( "
\n" ); document.write( "
\n" );