|
-
April 23rd, 2009, 07:28 AM
#1
matlab question
being new and all i was wondering how i would get started with writing a matlab code for friedmann equation for a closed universe?
\left(\frac{\dot{a}}{a}\right)^2 = \frac{8\pi G \rho}{3} - \frac{kc^2}{a^2}
-
April 23rd, 2009, 10:15 AM
#2
Re: matlab question
This is the C++ forum. Matlab forum is -> that way -> I think.
-
April 23rd, 2009, 02:12 PM
#3
Re: matlab question
if you want to solve it over some domain, use one of the built-in ode solvers. you will need to re-arrange the ode into a set of coupled first-order odes. I used ode45 last time I needed to do something similar.
-
April 23rd, 2009, 08:02 PM
#4
Re: matlab question
 Originally Posted by skorp
being new and all i was wondering how i would get started with writing a matlab code
What is your C++ question?
Regards,
Paul McKenzie
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|