A cosmological boundary value problem
Show older comments
Dear Community,
Recently I have encountered the following system of odes:

where κ and
known constants with the boundary conditions
,
. I would like to construct a proper code by using bvp4c or bvp5c but I am not sure how to handle the boundary conditions.
known constants with the boundary conditions
,
. I would like to construct a proper code by using bvp4c or bvp5c but I am not sure how to handle the boundary conditions. I would be very grateful for any help you could give me. Have a nice day!
6 Comments
Jan
on 7 Jun 2021
dSdt = S / (3 * G) must fail at G(0) = 0. Then the derivative is not finite and the integration will reply infinite results. This is not a probölemk of Matlab, but a mathematical one.
James Tursa
on 7 Jun 2021
Edited: James Tursa
on 7 Jun 2021
Good point. In fact all three equations have 0/0 at the boundary condition.
Szilárd Zsóka
on 7 Jun 2021
James Tursa
on 7 Jun 2021
Seems like you still have a mathematical problem because asymptotically the rhs has 1/sqrt(t). Sure you can arbitrarily start the problem at 0.01, but does this really have meaning if the actual math doesn't match and tends to infinity? Where are these equations coming from?
Szilárd Zsóka
on 8 Jun 2021
Szilárd Zsóka
on 8 Jun 2021
Answers (0)
Categories
Find more on Ordinary Differential Equations 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!




