ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Tue, 05 Aug 2014 12:38:17 +0200$p$-adic regulator calculationshttps://ask.sagemath.org/question/23697/p-adic-regulator-calculations/Why can't some $p$-adic regulators be calculated? The first case where this happens is the curve 3314b3. I received the following error message after using this code:
x = EllipticCurve("3314b3"); x
r = x.rank(); r
p = 7
x.is_good(p) and x.is_ordinary(p)
reg = x.padic_regulator(p,prec=7); reg
RuntimeError: Unable to compute the rank, hence generators, with certainty (lower bound=0, generators found=[]). This could be because Sha(E/Q)[2] is nontrivial.
Try increasing descent_second_limit then trying this command again. yeohaikalTue, 05 Aug 2014 12:38:17 +0200https://ask.sagemath.org/question/23697/webpages created by sagehttps://ask.sagemath.org/question/8337/webpages-created-by-sage/I am a Mathematics teacher interested in having a website where students can do live calculations and mathematical investigations, in one way similar to webmathematica. I am new to Sage and I am not a developer, but interested in live investigations over the internet. I would really appreciate some guidance in this direction. Thanks.teachTue, 20 Sep 2011 12:58:06 +0200https://ask.sagemath.org/question/8337/Is n() the same as N() if not why nothttps://ask.sagemath.org/question/8635/is-n-the-same-as-n-if-not-why-not/I am trying to use Sage as a simple numerical calculator but sometimes have to fight with more advanced features, things I think are number are not. I starting using n() to fix this up, but in some cases it did not work. Bug big N N() did. Is this the way it is supposed to be ( if so why ). Identical commands ( symbols..... ) except for capitilization seems like a bad idea. Here is the code:
# Is n() the same as N() if not why not
xll = 1. / ( pi * ( 2. ^ .5 ) )
xll = 22. * 2
print "xll is of type", type( xll )
print ""
print "Big N next"
print N( ll )
print ""
print "Little n next"
print n( xll )
produced output:
xll is of type <type 'sage.rings.real_mpfr.RealNumber'>
Big N next
0.0000120042175487614
Little N next
Traceback (click to the left of this block for traceback) ...
TypeError: 'sage.rings.real_mpfr.RealLiteral' object is not callableruss_henselTue, 17 Jan 2012 18:29:55 +0100https://ask.sagemath.org/question/8635/