document.write( "Question 1163060: Hi\r
\n" ); document.write( "\n" ); document.write( "A clothing shop paid $1,620 for suits to be sold at a profit of $15 each. When he had sold all but 9 suits, he had recovered the cost. Assuming that each suit cost the same,how many did he buy and how much did he pay for each one.\r
\n" ); document.write( "\n" ); document.write( "Thanks
\n" ); document.write( "

Algebra.Com's Answer #787014 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
let c be the cost of each suit.
\n" ); document.write( "let s be the selling price of each suit.
\n" ); document.write( "then xc = total cost and xs = total selling price.
\n" ); document.write( "you are given that 1620 is the total cost.
\n" ); document.write( "this means that xc = 1620
\n" ); document.write( "you are given that the total cost is achieved when all but 9 suits are sold.
\n" ); document.write( "this means that xc = (x - 9) * s.
\n" ); document.write( "since xc = 1620, you get:
\n" ); document.write( "1620 = (x - 9) * s
\n" ); document.write( "you are given that the profit on each suit is 15.
\n" ); document.write( "this means s = c + 15
\n" ); document.write( "therefore:
\n" ); document.write( "1620 = (x - 9) * (c + 15)
\n" ); document.write( "simplify this to get:
\n" ); document.write( "1620 = xc + 15x - 9c - 15*9
\n" ); document.write( "simplify further to get:
\n" ); document.write( "1620 = xc + 15x - 9c - 135
\n" ); document.write( "since xc = 1620, this becomes:
\n" ); document.write( "1620 = 1620 + 15x - 9c - 135
\n" ); document.write( "subtract 1620 from both sides of this equation to get:
\n" ); document.write( "0 = 15x - 9c - 135
\n" ); document.write( "add 35 to both sides of this euation to get:
\n" ); document.write( "135 = 15x - 9c
\n" ); document.write( "since xc = 1620, then c must be equal to 1620 / x
\n" ); document.write( "replace c with 1620/x to get:
\n" ); document.write( "135 = 15x - 9*1620/x
\n" ); document.write( "multiply both sides of this equation by x to get:
\n" ); document.write( "135x = 15x^2 - 14580
\n" ); document.write( "subtract 135x from both sides of the equation to get:
\n" ); document.write( "0 = 15x^2 - 135x - 14580
\n" ); document.write( "divide both sides of this equation by 15 to get:
\n" ); document.write( "0 = x^2 - 9x - 972
\n" ); document.write( "factor this equation to get:
\n" ); document.write( "(x + 27) * (x - 36) = 0
\n" ); document.write( "solve for x to get:
\n" ); document.write( "x = 36 or x = -27
\n" ); document.write( "x has to be positive, so x = 36.
\n" ); document.write( "go back to your original equations to get:
\n" ); document.write( "xc = 36*x = 1620
\n" ); document.write( "solve for c to get c = 45.
\n" ); document.write( "since s = c + 15, then s = 60.
\n" ); document.write( "your total cost is when all but 9 suits are sold.
\n" ); document.write( "this means that (x-9) * 60 = 1620
\n" ); document.write( "since x = 36, this becomes 27 * 60 = 1620 which becomes 1620 = 1620.
\n" ); document.write( "this confirms that x = 36 is correct.
\n" ); document.write( "the cost for each suit is 1620/36 = 45.
\n" ); document.write( "that's your solution.
\n" ); document.write( "
\n" ); document.write( "
\n" );