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


Math Forum
»
Discussions
»
Software
»
comp.softsys.matlab
Notice: We are no longer accepting new posts, but the forums will continue to be readable.
Topic:
How I make odefun for this odes(see message) in MatLab
Replies:
1
Last Post:
Dec 10, 2012 2:52 AM




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.



