On Thursday, 20 July 2017 04:24:50 UTC-6, Thomas Judson wrote:
>
> I am pretty sure that this is an R problem that occurs because of linked
> cells. Look at
> http://faculty.sfasu.edu/judsontw/math-s304/section-16.html. The first
> plot works fine, but somehow I need to clear the previous grap
On 2017-07-20 16:34, Vincent Delecroix wrote:
> sage: algdep(RealField(20)(1.4142), 2)
> x^2 - 2
>
> Note that you have to specify the maximal degree. Be careful about the
> input
>
> sage: algdep(1.4142, 2)
> 5000*x - 7071
>
> This is using the PARI/GP algdep command (whose algorithm is a LLL
>
sage: algdep(RealField(20)(1.4142), 2)
x^2 - 2
Note that you have to specify the maximal degree. Be careful about the input
sage: algdep(1.4142, 2)
5000*x - 7071
This is using the PARI/GP algdep command (whose algorithm is a LLL
reduction).
Vincent
On 20/07/2017 16:31, Daniel Krenn wrote:
Dear all,
I vaguely remember a discussion on this list some years ago about the
following: Given a floating point number, what is a good guess for the
simplest possible algebraic number that approximates this?
E.g. The input 1.4142 gives back sqrt(2) or x^2-2 and says that this is
approximates th
I am pretty sure that this is an R problem that occurs because of linked
cells. Look
at http://faculty.sfasu.edu/judsontw/math-s304/section-16.html. The first
plot works fine, but somehow I need to clear the previous graphics when I
create a new plot. I have tried dev.off() and graphics.off(