Solving a system of ODE with BCs
2 views (last 30 days)
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:
I converted the system to first order one, as follows:
How can I solve it?
Divija Aleti on 23 Apr 2021
The following link gives an example of how to solve a system of two first-order differential equations with boundary conditions. Similarly, you can solve for your converted system of four first order differential equations.
Hope this helps!