I would like to solve the following system of equations:
y'[t] == x[t]*y[t] - x[t];
10 == x[t]*y[t]/(x[t] + y[t]) + x[t]/(x[t] + y[t]^2)
Is there any way to solve this equations with Mathematica?
|
I would like to solve the following system of equations:
Is there any way to solve this equations with Mathematica? |
||||
| show 1 more comment |
|
|||||||
|
NDSolve[{y'[t] == x[t]*y[t] - x[t], 10 == x[t]*y[t]/(x[t] + y[t]) + x[t]/(x[t] + y[t]^2)}, {x, y}, {t, 0, 10}]does give a solution even though initial conditions are missing. Second,NSolve[{10 == (x y)/(x + y) + x/(x + y^2), x == 1}, {x, y}]does not give a solution, even thoughSolvefor the same equation does. Do you also think there's a bug here? Version 8 has neither of the problems: it correctly complains about the lack of initial conditions andNSolvedoes return a result for that eq. – Szabolcs Mar 9 at 17:11