A cosmological boundary value problem
Afficher commentaires plus anciens
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 commentaires
Jan
le 7 Juin 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
le 7 Juin 2021
Modifié(e) : James Tursa
le 7 Juin 2021
Good point. In fact all three equations have 0/0 at the boundary condition.
Szilárd Zsóka
le 7 Juin 2021
James Tursa
le 7 Juin 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
le 8 Juin 2021
Szilárd Zsóka
le 8 Juin 2021
Réponses (0)
Catégories
En savoir plus sur Ordinary Differential Equations 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!





