Boundary value problem with singularity using bvp4c
3 views (last 30 days)
Show older comments
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 Comments
David Goodmanson
on 9 Aug 2021
Hi Isaac,
could you post all three equations and all the boundary conditions?
Answers (0)
See Also
Categories
Find more on Boundary Value Problems in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

