Ask Your Question

Apprentice's profile - activity

2024-02-21 11:24:44 +0100 received badge  Popular Question (source)
2022-12-29 18:48:36 +0100 received badge  Popular Question (source)
2021-07-31 19:24:23 +0100 received badge  Nice Question (source)
2021-07-29 21:01:34 +0100 marked best answer Calculation with arbitrary precision

I know I can ask Sage to display the digits of Pi with arbitrary precision with n(pi, digits= 202) for example. Is it possible to ask it to perform an operation -- like a numerical integral -- to an arbitrary precision? That is, by specifying the number of significative digits.

I tried:

n(numerical_integral(exp(-1/x)/x, 0, 1 ),digits=200)

but that obviously produce the wrong answer.

I also know I can do:

integrate(e * exp(-1/x)/x,x, 0, 1 ).n(300)

but that integral seems to be computed symbolically.

2021-07-29 21:01:34 +0100 received badge  Scholar (source)
2021-07-29 21:01:31 +0100 received badge  Supporter (source)
2021-07-29 14:10:19 +0100 received badge  Student (source)
2021-07-29 05:06:43 +0100 asked a question Tree representing an expression

Tree representing an expression Is there a way to see the tree representing an expression in Sage? Just like Mathematica

2021-07-29 02:47:11 +0100 received badge  Editor (source)
2021-07-29 02:47:11 +0100 edited question Calculation with arbitrary precision

Calculation with arbitrary precision I know I can ask Sage to display the digits of Pi with arbitrary precision with n(p

2021-07-29 02:47:01 +0100 asked a question Calculation with arbitrary precision

Calculation with arbitrary precision I know I can ask Sage to display the digits of Pi with arbitrary precision with n(p