Plotting integral f of bounds
|
11/09/04 10:34am
I'm plotting the Friedman equation as a function of a, the scale factor, like so:
ListPlot[Table[NIntegrate[1/(8*pi*G)*a^2*(rho_r + rho_m + rho_k + rho_L), {a,10^-6,s}],{s,10^-6,1,10^-3}]]
The problem is this needs to be plotted as a function of Log[a], whereas the ListPlot x-axis is just a number. In general, I'm plotting the function as a numeric integral which is a function of its bounds s, since trying to solve the analytic expression basically crashed Mathematica.
Any comments on how to do this?
URL: , |