I'm given a spherical tank (radius R = 1m), completely filled with water. When I open the tank at the bottom, water flows out with a rate I = 1 litre per second. What I want is plotting the fill height h as a function of time t. I end up with an implicit equation, which can't be analytically solved for h (at least I'm told, but got no time for maths atm):
- pi/3 * h**3 + pi * R * h**2 + I*t - 4/3 * pi * R**3 = 0
Sympy doc and other threads say, plot_implicit is a function to plot implicit equation. Sounds promising.
That's what I have:
from sympy import plot_implicit, Eq, symbols, pi
R, I = 1, 1
t, h = symbols('t h')
plot_implicit(Eq(-pi/3*h**3 + pi*R*h**2 + I*t - 4/3*pi*R**3, 0)), (t, 0, 5000), (h, 0, 2))
However, that gives me a seemingly empty plot. When I zoom in, I just get a rectangle: plot w/ specified ranges
When I remove the range arguments, I get something just as nonsensical: plot w/o specified ranges
That's not at all what the factual graph should look like. What am I doing wrong?

