Solving a system of ODE with BCs
Mostra commenti meno recenti
Hi, I'm trying to solve a system of 2 ODE with boundary conditions.
The integration variable is r, which is the sferical coordinate (radius of a sphere). At the end of the simulation I should get the values of A and B as a functions of r, where the maximum value of r is 1.
k,c,a,b are constants.
The system is as follows:
Equations:


BCs:

I converted the system to first order one, as follows:
Equations:




BCs:
Y3(0)=Y4(0)=0
Y1(1)=a
Y2(1)=b
How can I solve it?
Thank you!
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Ordinary Differential Equations in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!