       Re: tabulate an expression in arbitrary precision

• To: mathgroup at smc.vnet.net
• Subject: [mg93983] Re: tabulate an expression in arbitrary precision
• From: "m.g." <mg at michaelgamer.de>
• Date: Sun, 30 Nov 2008 07:01:23 -0500 (EST)
• References: <ggr287\$e8j\$1@smc.vnet.net>

```On 29 Nov., 10:32, Leslaw Bieniasz <nbbie... at cyf-kr.edu.pl> wrote:
> Hi,
> I am new to MATHEMATICA, and I am looking for advice.
> I need to tabulate values of a certain expression involving error function Erf[x], for a number of x values.
> The problem is that I need to do these calculations in
> arbitrary precision (that is I want to be able to control
> the number N of significant digits). Can anybody show me some examples of how this might be done? I stress I know
> nothing about MATHEMATICA. I want the results to be displayed and saved in the form of a table having two columns, where the first column contains x values, and
> the second column contains the corresponding values of the expression, with all N significant digits.
>
> Leslaw

Hi Leslaw,
maybe I understood you wrong. But you can controll the number of
significant digits simply in the following way:

N[expr,num] yield "num" digits for expression "expr" (eg. N[Pi,50])

so you can probably wrap this N[xxxx] around your expression.

Greetings

Mike

```

• Prev by Date: Re: tabulate an expression in arbitrary precision
• Next by Date: RE: Passing default options to nested function call
• Previous by thread: Re: tabulate an expression in arbitrary precision
• Next by thread: Passing default options to nested function call