Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Plotting a numeric integral as function of bounds' topicStudent Support Forum > General > "Plotting a numeric integral as function of bounds"

Next Comment >Help | Reply To Topic
Author Comment/Response
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: ,

Subject (listing for 'Plotting a numeric integral as function of bounds')
Author Date Posted
Plotting a numeric integral as function of bounds Plotting int... 11/09/04 10:34am
Re: Plotting a numeric integral as function of ... Andrew DuBui... 11/17/04 8:18pm
Re: Plotting a numeric integral as function of ... Adam Getchell 12/15/04 9:39pm
Next Comment >Help | Reply To Topic