document.write( "Question 1026148: If you buy a minimum of 10 sweets, you get 2 free. Which equation describe this? If I put the number I want to buy in the equation, it should tell me how many sweets I will get for free. \n" ); document.write( "
Algebra.Com's Answer #641447 by richard1234(7193)\"\" \"About 
You can put this solution on YOUR website!
Let s be the number of sweets you want to buy.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "If s < 10, then you get no free sweets.
\n" ); document.write( "If s >= 10, then you get two free sweets.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "f(s) = 0 if s < 10
\n" ); document.write( "f(s) = 2 if s >= 10 (this should be written as a piecewise function)
\n" ); document.write( "
\n" );