System of ODE Boundary Value Problem with 2nd Order Backward Difference

teknodude
Messages
150
Reaction score
0
{\frac {{\it du}}{{\it dx}}}=998\,u+1998\,v
{\frac {{\it dv}}{{\it dx}}}=-999\,u-1999\,v
u \left( 0 \right) =1
v \left( 0 \right) =0
0<x<10
Second Order Backward Difference formula
{\frac {f_{{k-2}}-4\,f_{{k-1}}+3f_{{k}}}{h}}

I'm trying solve this numerically in matlab, but can't seem to figure out what to do with the k-2 indice in the 2nd order backward difference equation, because it is outside the boundary. I was thinking of using a ficticious or ghost point, but I thought that only applies if a neuman boundary condition is given. The way i think of it, I have 4 unknowns and only 2 equations.

EDIT: ok after thinking about it. I think I have to use another numerical method to start the process, like RK4.
 
Last edited:
Physics news on Phys.org
I think that's a good idea xD
 
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...
Back
Top