0

I have the following differential equation describing water flowing out of the bottom of a tank of uniform cross-sectional area under the action of gravity.

$$ {{dh} \over {dt}} = - K\sqrt h $$

where $h(t)$ is the water depth at time $t$ with $h_0$ being the initial depth. $K > 0$ is a constant.

I have no idea how to solve this. I only know how to separate variables to solve ODEs. How would I solve this one? This is one of the starred questions in the book. I can't find another example like this.

2 Answers2

1

You can still solve this with separation of variables. divide both sides by $\sqrt{h}$ and you have a separated equation.

CrazyIvan
  • 104
  • I did that but I got that $t = - {{2\sqrt h } \over K}$ so when I plug in h = 0, that means the tank empties instantaneously... What am I doing wrong? – SumMathGuy Feb 24 '16 at 18:23
  • After dividing by $\sqrt{h}$ and integrating both sides we have the equation $2\sqrt{h} = -Kt + C$ where C is a constant. solving for h here gives $h = ((-Kt+C)/2)^2$ – CrazyIvan Feb 24 '16 at 18:27
  • 1
    @SumMathGuy You have to integrate using proper limits. You will get $t=-\frac{2\sqrt h}{K} + c$, where $c$ has to be found using the initial condition given. – GoodDeeds Feb 24 '16 at 18:27
  • I did get that but I don't have an initial condition. As I said above, it just says ${h_0}$ so I can't solve for c. Ivan, I am solving for t not for h. – SumMathGuy Feb 24 '16 at 18:33
  • h(0) = $h_0$ so when we plug in 0 for t we can solve for c. in particular $c = 2\sqrt{h_0}/K$. – CrazyIvan Feb 24 '16 at 18:35
-2

I present this way for solution your answer. Following the below way dh/dt=-k√(h,) You can solve this equation very easy. Divide both side of equation to √(h,). In this case, equation is changed to a separated of variable. By integrating both of them relative to separation variable and using initial condition, at which h(t=0)=h_0 , you can find integration constant, c=(h_0 )^1/2 and finally its answer: h=(-1/2*kt+h_0^(1/2))^1/2 This equation shows the h versus t variation. By the way, you can draw it to linearity with h^2 versus t.

Amir
  • 1