A cosmological boundary value problem
Mostrar comentarios más antiguos
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 comentarios
Jan
el 7 de Jun. de 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
el 7 de Jun. de 2021
Editada: James Tursa
el 7 de Jun. de 2021
Good point. In fact all three equations have 0/0 at the boundary condition.
Szilárd Zsóka
el 7 de Jun. de 2021
James Tursa
el 7 de Jun. de 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
el 8 de Jun. de 2021
Szilárd Zsóka
el 8 de Jun. de 2021
Respuestas (0)
Categorías
Más información sobre Ordinary Differential Equations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!





