MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: integral to table values


On Sunday, September 18, 2005 at 01:15 GMT -0400, Poster wrote:

> I can integrate the following expression.

> Integrate[Sqrt[2x - x^2], {x, 0, 2}]

> But, how can I get a TABLE of data? I want to vary the upper limit (h)
> over a range from 0 to 2.

How about the Table command?

Table[{h,Integrate[Sqrt[2x-x^2],{x,0,h}]},{h,0,2,0.1}]


  • Prev by Date: writing a function with unknown number of paramters
  • Next by Date: Running ps2pdf from within Mathematica
  • Previous by thread: integral to table values
  • Next by thread: Re: integral to table values