Numerically solving coupled DEs?

  • Thread starter Thread starter gyver
  • Start date Start date
  • Tags Tags
    Coupled
gyver
Messages
1
Reaction score
0
Hi folks!

I'm trying to (numerically) find a steady-state solution for N_b and N_w in the following set of coupled DEs using the software package Matlab:

<br /> \left{<br /> \begin{array}{l}<br /> \frac{\delta N_b}{\delta t} = P_b(N_b) - N_b \cdot \left( \frac{1}{\tau_b} - \frac{1}{\tau_c}D \right)\\<br /> \frac{\delta N_w}{\delta t} = \frac{N_b}{\tau_c} - \frac{N_w}{\tau_w(N_w)} - P_w(N_w)<br /> \end{array}<br /> \right.<br />

where \tau_b, \tau_c and D are constants. Which way would be the right one to go?
 
Last edited:
Physics news on Phys.org
Remove the dimensions and write a program to do RK4 unless this is just for a class in which case RK2 or Euler's with really small step is easier.
 
I'm don't know MatLab but I'd run two Runge Kutta 4th order (RK4) algorithms simultaneously, using the current values for Nb and Nw in each formula.
 
What form do P_b and \tau_w take?
 
Thread 'Direction Fields and Isoclines'
I sketched the isoclines for $$ m=-1,0,1,2 $$. Since both $$ \frac{dy}{dx} $$ and $$ D_{y} \frac{dy}{dx} $$ are continuous on the square region R defined by $$ -4\leq x \leq 4, -4 \leq y \leq 4 $$ the existence and uniqueness theorem guarantees that if we pick a point in the interior that lies on an isocline there will be a unique differentiable function (solution) passing through that point. I understand that a solution exists but I unsure how to actually sketch it. For example, consider a...

Similar threads

Back
Top