I have a question concerning NDSolve and a system of differential equations. I have 4 variables and 4 equations. Why do I get this ERROR :There are more dependent variables, {f[j,p],U[j,p],(f^(0,1))[j,p],(U^(0,1))[j,p]}, than equations, so the system is underdetermined. ???
V = 1000; ρ = 0.000013; L = 37;
eqns = {V p D[f[j, p], j] + j D[U[j, p], j] + U[j, p] + 6 ρ L j == 0,
V f[j, p] + V p D[f[j, p], p] + j D[U[j, p], p] == 0};
vars = {f[j, p], U[j, p]};
inits = {f[5, 10] == 0.1048, U[5, 10] == 3.6};
res = NDSolve[{eqns, inits}, vars, {j, p}]
0.002886
j^2/2 + j U[j, p] + 1000 p f[j, p] == c, where
c` is a constant. So, there are too few dependent variables. $\endgroup$