CoCalc Public Filessupport / 2015-11-22-163829-limit.sagews
Authors: Harald Schilly, ℏal Snyder, William A. Stein
Description: Jupyter notebook support/2015-06-04-141749-bokeh.ipynb
version()

'SageMath Version 6.9.beta7, Release Date: 2015-09-17'
var('m a0')
(m, a0)
x=2/5*((3/4)^m - 1)*(a0 - 1000000) + 1/5*(3*(3/4)^m + 2)*a0; x

(m, a0) (m, a0) 2/5*((3/4)^m - 1)*(a0 - 1000000) + 1/5*(3*(3/4)^m + 2)*a0
limit(x, m=oo)

Error in lines 1-1 Traceback (most recent call last): File "/projects/sage/sage-6.9/local/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 905, in execute exec compile(block+'\n', '', 'single') in namespace, locals File "", line 1, in <module> File "/projects/sage/sage-6.9/local/lib/python2.7/site-packages/sage/calculus/calculus.py", line 1205, in limit l = maxima.sr_limit(ex, v, a) File "/projects/sage/sage-6.9/local/lib/python2.7/site-packages/sage/interfaces/maxima_lib.py", line 944, in sr_limit return max_to_sr(maxima_eval(([max_limit], L))) File "sage/libs/ecl.pyx", line 795, in sage.libs.ecl.EclObject.__call__ (/projects/sage/sage-6.9/src/build/cythonized/sage/libs/ecl.c:7322) return ecl_wrap(ecl_safe_apply(self.obj,(<EclObject>lispargs).obj)) File "sage/libs/ecl.pyx", line 368, in sage.libs.ecl.ecl_safe_apply (/projects/sage/sage-6.9/src/build/cythonized/sage/libs/ecl.c:4933) raise RuntimeError, "ECL says: "+ecl_base_string_pointer_safe(s) RuntimeError: ECL says: Console interrupt.
limit(x, m=oo, algorithm='sympy')

400000
N(x(m=1e10))

400000.000000000