Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.



Re: How I make odefun for this odes(see message) in MatLab
Posted:
Dec 10, 2012 2:52 AM


> How I make odefun for this odes {dy/dx = du/dx + > y(x), du/dx = dy/dx + u(x)} in MatLab? > > dy/dx = du/dx + y(x) > du/dx = dy/dx + u(x)
Your ode system can be rewritten as
dy/dx  du/dx = y(x) dy/dx  du/dx = u(x)
Thus it only has a solution if y(x) = u(x). Inserting gives
2*dy/dx = y(x)
which has solution
y(x) = a*exp(0.5*x)
where a is an arbitrary constant.
From y(x) = u(x) you get u(x) = a*exp(0.5*x).
Best wishes Torsten.



