Water is pouring into a container at a rate given by ri = t^3(gallons/hour), and water is pouring out of the same container at a rate given by ro(t) = e^t(gallons/hour). If there are 100 gallons of water at time t = 0, how many gallons of water will be in the container at t=4 hours?
@ganeshie8
rate of change of water in container = (in rate) - (out rate)
say "y" is the amount of water present in container at any given time
then you can setup a differential equation : \(\large \dfrac{dy}{dt} = t^3 - e^t\)
solve it
@ganeshie8 64 - e^4
doesnt look right
whats ur solution to above equation ?
Ahh I see where the mistake was !
9.6, but I think that's wrong
you need to solve the differential equation first, before plugging in t = 4
\(\large \dfrac{dy}{dt} = t^3 - e^t\) Solving this means, solving the function "\(y\)"
Integrate both sides
\(\large \dfrac{dy}{dt} = t^3 - e^t\) \(\large y = \int t^3 - e^t dt\)
what do u get ?
t^4/4 -e^t, then we plug in 4?
I still got 9.4 lol
Yes, but not yet... where is the arbitrary constant ?
\(\large \dfrac{dy}{dt} = t^3 - e^t\) \(\large y = \int t^3 - e^t dt\) \(\large y = \dfrac{t^4}{4} - e^t + c\)
right ?
we're given : ` If there are 100 gallons of water at time t = 0,`
Oh, yes. Lol, I always forgot the constant and my teacher marks points off for it -_-
hahah happens :) plugin t = 0, y = 100 and solve \(c\)
100 = (0^4)/4 + (e^0) + C = 101
Then we do it for t - 4 and subtract?
I meant t = 4
c = 101 is correct, so the equation for amount water in tank is : \(\large y = \dfrac{t^4}{4} - e^t + 101\)
yes... simply plugin t = 4 that gives amount of water in tank after 4 hours
110.402
\(\large \color{red}{\checkmark}\)
Join our real-time social learning platform and learn together with your friends!