A General relativity package for Friedman equations

I need to simulate the Friedman equations under different conditions of flat space. Can someone please tell me a good package in MATLAB, Mathematica or stand alone. I am most well versed in MATLAB but have coded in Mathematica before.
 

Orodruin

Staff Emeritus
Science Advisor
Homework Helper
Insights Author
Gold Member
2018 Award
15,598
5,620
Why do you need a package? The Friedmann equations are rather simple and easily numerically integrated for various energy contents of the Universe.
 
I am just about to study the Friedman equations. Are they just simple ordinary differential equations? Can inbuilt functions in MATLAB handle coupled ODE's? I primarily want to vary the 'w' parameter to see how the scale factor changes as the universe evolves.
 

Orodruin

Staff Emeritus
Science Advisor
Homework Helper
Insights Author
Gold Member
2018 Award
15,598
5,620
I am just about to study the Friedman equations. Are they just simple ordinary differential equations?
Yes and yes.

Can inbuilt functions in MATLAB handle coupled ODE's? I primarily want to vary the 'w' parameter to see how the scale factor changes as the universe evolves.
This to me is somewhat suggests that you are going to consider one type of energy component only. If that is all you want to do the Friedmann equations can be solved analytically.
 

Want to reply to this thread?

"General relativity package for Friedman equations" You must log in or register to reply here.

Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving

Hot Threads

Top