document.write( "Question 675511: Rick and Steve are selling cookies at a bake sale. The ingredients for the cookies cost $24, and they are selling the cookies for $1 each. Construct a function that computes the profit they will make by selling cookies. \n" ); document.write( "
Algebra.Com's Answer #419876 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let \"+n+\" = the number of cookies they can make
\n" ); document.write( "with the $24 worth of ingredients
\n" ); document.write( "\"+1%2An+\" = the income from the sale of \"n\" cookies
\n" ); document.write( "Let \"+P+\" = the profit made on \"n\" cookies
\n" ); document.write( "\"+P+=+n+-+24+\"\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );