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: [mg60506] Re: [mg60500] integral to table values
  • From: "Matthias Bode" <lvsaba at hotmail.com>
  • Date: Mon, 19 Sep 2005 04:45:28 -0400 (EDT)
  • References: <200509180515.BAA02295@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hello Dennis:

"TABLE~" was THE guess:

TableForm[Table[{n, Chop[Integrate[Sqrt[2*x - x^2], {x, 0, n}]]}, {n, 0, 2, 
0.1}], TableHeadings -> {Automatic, {"h", "val"}}]

Best regards,

MATTHIAS BODE
Torres Sofer III, depto. 9 A
Pedro Borda #1072
esq. Ismael Vásquez
COCHABAMBA/BOLIVIA

CEL: +591-70 71 56 64
TEL/FAX: +591-4-4 53 34 17
LVSABA at HOTMAIL.COM
Time indicated: UTC (=GMT).

----- Original Message ----- 
From: <poster at giganews.com>
To: mathgroup at smc.vnet.net
Subject: [mg60506] [mg60500] integral to table values


>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
>
> 


  • Prev by Date: 'Changing' parameters in an expression
  • Next by Date: Re: Batch
  • Previous by thread: Re: integral to table values
  • Next by thread: Re: integral to table values