document.write( "Question 888643: The cost of a parking ticket is $40 for the first offense, but the cost doubles for each additional offense. Write a formula for the cost C as a function of the number of tickets n. \r
\n" ); document.write( "\n" ); document.write( "Remember to use the variable \"n\" in your answer.
\n" ); document.write( " C =
\n" ); document.write( "

Algebra.Com's Answer #537530 by Okamiden(22)\"\" \"About 
You can put this solution on YOUR website!
You can find this equation by noticing the pattern.\r
\n" ); document.write( "\n" ); document.write( "If n=1 ticket, the cost \"C=40%24\" You could also write this as \"C=40+x+2+%5E0\" since \"2%5E0=+1\", this will be useful;
\n" ); document.write( "If n=2, the cost of one ticket is \"C+=+40+x+2+=+80%24\";
\n" ); document.write( "If n=3, the cost of one ticket is \"C+=+40+x+2+x+2+=+40+%2A+2%5E2+=+160%24\";
\n" ); document.write( "If n=4, the cost of one ticket is \"C+=+40+x+2+x+2+x+2+=+40+x+2%5E3+=+320%24+\"\r
\n" ); document.write( "\n" ); document.write( "For an arbitrary n number of tickets, the equation is thus \"C+=+40+x+2%5E%28n-1%29++\"
\n" ); document.write( "
\n" );