Boundary value problem with singularity using bvp4c
Afficher commentaires plus anciens
I am attempting to solve a boundary value problem with a singularity on one of the boundaries.
The ODEs in the system that I am solving are all of the following form:
With boundary conditions:


At the
boundary, the
term becomes 0/0. I am aware that bvp4c can solve problems with a singularity that has the form
as x→0, but since my singularity is in the form
I'm not sure if bvp4c will be appropriate.
as x→0, but since my singularity is in the form Currently, the code does solve using bvp4c, and produces the figure that I have attached. As can be seen in the figure, my problem is that the value of
is forced to 0 at the boundary where
. Instead, I want to be able to evaluate the limit that
is tending to.
My questions are:
1) Is it possible to evaluate the limit of
as x→
?
2) Is bvp4c suitable for this problem? If not, would someone be able to recommend a different function? I have had a look sbvp, but I do not think the type of singularities dealt with in this function are applicable either.

4 commentaires
David Goodmanson
le 8 Août 2021
Hi Isaac,
you only show an ode for f, so is g a known function?
Isaac Paten
le 8 Août 2021
David Goodmanson
le 9 Août 2021
Hi Isaac,
could you post all three equations and all the boundary conditions?
Isaac Paten
le 10 Août 2021
Réponses (0)
Catégories
En savoir plus sur Boundary Value Problems dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


