document.write( "Question 1034646: The cost of sinking a well x meter deep varies partly as x and partly as the square of x. A well of this kind costs 180 naira, if the depth is 30 m, and cost 280 naira, if the depth is 40 m. How deep is the well, if the cost is 400 naira. \n" ); document.write( "
Algebra.Com's Answer #649458 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
this looks like a quadratic equation type problem as far as i can tell.
\n" ); document.write( "let a be the coefficient of x^2 and let b be the coefficient of x.
\n" ); document.write( "the general equation is:
\n" ); document.write( "ax^2 + bx = c
\n" ); document.write( "if you subtract c from both sides of this equation, you get ax^2 + bx - c = 0 which is the standard form of a quadratic equation.
\n" ); document.write( "start with ax^2 + bx = c
\n" ); document.write( "when x = 30, the equation becomes 900a + 30b = 180.
\n" ); document.write( "when x = 40, the equation becomes 1600a + 40b = 280.
\n" ); document.write( "if we multiply the second equation by 9/16 and if we leave the first equation alone, we get:
\n" ); document.write( "900a + 30b = 180
\n" ); document.write( "900a + 22.5b = 157.5
\n" ); document.write( "if we subtract the second equation from the first, we get:
\n" ); document.write( "7.5b = 22.5
\n" ); document.write( "solve for b to get b = 22.5/7.5 = 3
\n" ); document.write( "solve for a in the first equation to get a = .1
\n" ); document.write( "we have a = .1 and b = 3
\n" ); document.write( "the general equation becomes:
\n" ); document.write( ".1x^2 + 3x = c
\n" ); document.write( "when x = 30, this becomes .1*900 + 3*30 = 90 + 90 = 180
\n" ); document.write( "when x = 40, this becomes .1*1600 + 3*40 = 160 + 120 = 280
\n" ); document.write( "the equation works for the two original situation, so we assume it works in general.
\n" ); document.write( "when the cost is 400 naira, the equation becomes:
\n" ); document.write( ".1x^2 + 3x = 400
\n" ); document.write( "subtract 400 from both sides of the equation to get:
\n" ); document.write( ".1x^2 + 3x - 400 = 0
\n" ); document.write( "this is a quadratic equation that can be solved through the use of the quadratic formula if it cannot be solved by any other method.
\n" ); document.write( "it can also be solved graphically.
\n" ); document.write( "in fact, it was able to be factored once we multiplied both sides of the equation by 10 to get:
\n" ); document.write( "x^2 + 30x = 4000
\n" ); document.write( "subtract 4000 from both sides of the equation to get:
\n" ); document.write( "x^2 + 30x - 4000 = 0
\n" ); document.write( "factor the equation to get:
\n" ); document.write( "(x+80)*(x-50) = 0
\n" ); document.write( "solve for x to get:
\n" ); document.write( "x = -80
\n" ); document.write( "x = 50
\n" ); document.write( "x can't be negative, so the solution is x = 50.
\n" ); document.write( "if the cost is 400 naira, than the depth of the well is 50 meters.
\n" ); document.write( "go back to the original equation and replace x with 50 to get:
\n" ); document.write( ".1*50^2 + 3*50 = .1*2500 + 150 = 250 + 150 = 400
\n" ); document.write( "the solution looks good.\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );