Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Re: integral to table values

  • To: mathgroup at smc.vnet.net
  • Subject: [mg60522] Re: [mg60500] integral to table values
  • From: Chris Chiasson <chris.chiasson at gmail.com>
  • Date: Mon, 19 Sep 2005 04:45:41 -0400 (EDT)
  • References: <200509180515.BAA02295@smc.vnet.net>
  • Reply-to: chris.chiasson at gmail.com
  • Sender: owner-wri-mathgroup at wolfram.com

Table[{h,Integrate[Sqrt[2x-x^2],{x,0,h}]},{h,0,2,.1}]//Chop//TableForm

On 9/18/05, poster at giganews.com <poster at giganews.com> 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.
> 
> Ultimately, the table should look like this.
> 
>   h        val
> -----     -----
> 0.000     0.000
> 0.100     0.029
> 
> ....
> 
> 1.000     0.785
> 
> ....
> 
> 0.800     0.586
> 1.900     1.541
> 2.000     1.570
> 
> I have tried substituting a list "{0.1, 0.2, 0.3,}" for the "2" above,
> but this does provide the desired result.
> 
> Thanks for your help.
> Dennis
> 
> 


-- 
Chris Chiasson
http://chrischiasson.com/contact/chris_chiasson


  • Prev by Date: Match exactly zero or one
  • Next by Date: Re: integral to table values
  • Previous by thread: Re: integral to table values
  • Next by thread: Re: integral to table values