document.write( "Question 1132089: You go to a local mechanic to get your tires changed. The tires cost $300 each. There is a 6% sales tax, but you get a 10% discount. \r
\n" ); document.write( "\n" ); document.write( " Write a function, t(x) for the total purchase amount after taxes but before discounts and fees and d(x) to account for the total after discounts on purchase amount x but before taxes and fees. Does it make a difference in the total price if the mechanic adds the tax first or takes the discount first?\r
\n" ); document.write( "\n" ); document.write( "I tried different solutions but my teacher keeps saying that they're wrong. Can you please help?
\n" ); document.write( "Thanks!
\n" ); document.write( "

Algebra.Com's Answer #748963 by Boreal(15235)\"\" \"About 
You can put this solution on YOUR website!
It does make a difference when you add the tax, and the discount is always taken first, before the tax.
\n" ); document.write( "0.90(300x)=270x dollars for x tires. A 10% discount gives the amount discounted; the 90% is what it costs.
\n" ); document.write( "The total price is the 270x+(0.06)270x) or 1.06(270x) or f(x)=$286.20x\r
\n" ); document.write( "\n" ); document.write( "buy 4 tires and that is 1200 dollars. Ten per cent discount is $120, so the total cost is $1080
\n" ); document.write( "6% of $1080 is $64.80, the tax. The final cost is $1144.80
\n" ); document.write( "286.20*4=$1144.80
\n" ); document.write( "
\n" );