document.write( "Question 215439: This is my last homework problem for the day:\r
\n" ); document.write( "\n" ); document.write( "New carpeting can be purchased and installed for $22.00 per square yard, plus a $50 delivery fee. (a) Write an equation that gives the cost, c, to carpet “s” square yards. (b) Find the inverse of the cost function. © How many square yards can be carpeted for $1810?\r
\n" ); document.write( "\n" ); document.write( "Is it C(x)=xs+50 and the inverse is c^-1(x)=x-50/s\r
\n" ); document.write( "\n" ); document.write( "80 square yards can be carpeted for $1810\r
\n" ); document.write( "\n" ); document.write( "Did I get it right?\r
\n" ); document.write( "\n" ); document.write( " \r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #162817 by Earlsdon(6294)\"\" \"About 
You can put this solution on YOUR website!
I'm not sure where the x is coming from?
\n" ); document.write( "The equation for the cost (C) of carpeting s square yards at $22.00 per square yard plus %50.00 for delivery would be:
\n" ); document.write( "\"highlight%28C%28s%29+=+22s%2B50%29\"
\n" ); document.write( "To find the inverse of this function, exchange the dependent variable (C) with the independent variable (s) and solve for C.
\n" ); document.write( "\"C+=+22s%2B50\" Exchange C and s.
\n" ); document.write( "\"s+=+22C%2B50\" Solve this for C. Subtract 50 from both sides.
\n" ); document.write( "\"s-50+=+22C\" Divide both sides by 22 to get the inverse function \"C%5E%28-1%29%28s%29\"
\n" ); document.write( "\"C%5E%28-1%29%28s%29+=+%28s-50%29%2F22\"
\n" ); document.write( "To check to see if you have correct inverse, find the composite of \"C\" and \"C%5E%28-1%29\", why? Because \"C%28C%5E%28-1%29%28s%29%29+=+s\" if \"C%5E%28-1%29%28s%29\" is the inverse of \"C%28s%29\" :
\n" ); document.write( "\"C%28%28C%5E%28-1%29%29%28s%29%29+=+s\"
\n" ); document.write( "\"C%28C%5E%28-1%29%29+=+C%28%28s-50%29%2F22%29\"
\n" ); document.write( "\"C%28%28s-500%29%2F22%29+=+22%28%28s-50%29%2F22%29%2B50\"=\"s\"
\n" ); document.write( "
\n" );