| can anyone explain this: from approximation one know's that the legendre coefficients converge exponentially to zero and not to infinity! and indeed with mpmath I get a better answer: Is there an overhead happening, when I numerically evaluate large rationals or something??? Thanks in advance, maldun |
| If you look at the output of you'll see that it is a massive expression with large rationals, powers of pi, etc. If For example, the lines tell you that if evaluate the expression using 500 bits of precision, it's definitely 0.000000... (at least 53 zeros). Internally, this is done by evaluating with 500 bits of precision and rounding down and also evaluating with 500 bits and rounding up, and tracking the resulting "interval". |
Asked: Aug 24 '10
Seen: 403 times
Last updated: Aug 24 '10
powered by ASKBOT version 0.7.22
Copyright Sage, 2010. Some rights reserved under creative commons license.