[sage-support] Suse binary doesn't work

2011-03-16 Thread Oscar Gerardo Lazo Arjona
luis@linux-smne:~> cd Documentos/sage/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/^C luis@linux-smne:~> cd Documentos/sage/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux/ luis@linux-smne:~/Documentos/sage/sage-4.5.3-linux-32bit-opensuse_11.1_i586-i686-Linux> ls COPYING.txt devel

[sage-support] strange error message when using maxima

2010-10-02 Thread Oscar Gerardo Lazo Arjona
When I use sage from the command line I get the following error message: sage: integral(x,x) 'import site' failed; use -v for traceback Traceback (most recent call last): File "/home/oscar/sage-4.5.2/local/bin/sage-cleaner", line 21, in import os, shutil, sys, time, socket File "/home/

[sage-support] declaring integer variable in ODE

2010-09-20 Thread Oscar Gerardo Lazo Arjona
Hello! I'm trying to solve this ODE: var('t alpha beta n') x=function('x',t) eq=diff(x,t)^2==alpha-beta abs(x)^n assume(n,'integer') desolve(eq,x,ivar=t,contrib_ode=True) but I get: Traceback (click to the left of this block for traceback) ... Is n an integer? but I've already told sage that

[sage-support] Error installing cadabra.spkg

2010-08-20 Thread Oscar Gerardo Lazo Arjona
Hello people! I came across this problem while trying to install an spkg: checking pcre.h presence... no checking for pcre.h... no configure: error: Need the pcre library; get it from http://www.pcre.org/ . Make sure to set CPPFLAGS if necessary. make: *** No se especificó ningún objetivo y no s

[sage-support] Strange bug in latex rendering

2010-08-08 Thread Oscar Gerardo Lazo Arjona
Hello! I've come across this strange bug: sage: var('x y') (x, y) sage: a=x-y/x sage: a x - y/x sage: print a x - y/x sage: latex(a) x + \frac{y}{x} that last + should be a -. This also doesn't work in the notebook, using print a works, but show(a) shows the expression with a plus sign. Any

[sage-support] sage TeXmacs plugin doesn't work

2010-08-05 Thread Oscar Gerardo Lazo Arjona
I've downloaded the file: http://www.sagemath.org:9001/TeXmacs?action=AttachFile&do=view&target=texmacs-sage.tar.gz and extracted it in ~/.TeXmacs/plugins as the instructions say (in http://www.sagemath.org:9001/TeXmacs) but when I start TeXmacs there is no SAGE option in Insert -> Session .

[sage-support] Jmol does not show graphics

2010-07-10 Thread Oscar Gerardo Lazo Arjona
Hello! I've got a problem with Jmol. It shows a gray square, then it shows a black square, but the plot never appears. In my status bar I see the following messages: Starting subprogram, subprogram started, script 1 started, jmol script terminated. The funny thing is that although Jmol doe

[sage-support] problem compiling sage

2010-06-27 Thread Oscar Gerardo Lazo Arjona
I untarred sage-4.4.4, then cd sage-4.4.4, then make. I got the following error: Error building Sage. ./sage -docbuild all html 2>&1 | tee -a dochtml.log ** You must compile Sage first using 'make' in the Sage root director

[sage-support] error with integral

2010-03-06 Thread Oscar Gerardo Lazo Arjona
Hey guys, what's wront with this integral? sage: integral(x^3/(e^x-1),x,0,oo) Traceback (most recent call last): File "", line 1, in File "_sage_input_5.py", line 5, in integral(f,x,_sage_const_0 ,oo) File "", line 1, in File "/home/oscar/sage-4.3/local/lib/python2.6/site-packages

[sage-support] Problem compiling with cython

2010-02-21 Thread Oscar Gerardo Lazo Arjona
A friend of mine is having trouble compiling this Cython code in a notebook cell: %cython def resto(int n): lfact=[] cdef int i for i in range(1,n): if n%i ==0: lfact.append(i) tot=sum(lfact) return n-tot puntos=[(i,resto(i)) for i in range(2,8131)] print l

[sage-support] Integer solutions to an equations system

2010-02-17 Thread Oscar Gerardo Lazo Arjona
A friend of mine proposed me the following problem: A reporter asks a military officer how many soldiers are at a certain military base. The officer, not wanting to reveal such sensitive information, but also not wanting to seem overly secretive, gives an indirect answer: When my soldiers fo

[sage-support] Sage in calculators

2010-01-31 Thread Oscar Gerardo Lazo Arjona
Given the great power difference between sage and scientific calculators, I've wondered: wouldn't the calculator manufacturers be interested in using sage (or parts of sage) in their hardware? I'd love to see a portable device allowing me to use Python without having to turn on a computer. Ju

[sage-support] Complex values in parametric plot3d

2010-01-31 Thread Oscar Gerardo Lazo Arjona
I'd like to call attention to the fact that parametric_plot3d cannot plot curves (or surfaces) that include complex values. This is despite that it's documentation states that: By default for a curve any points where fx, fy, or fz do not evaluate to a real number are skipped. for example: va

[sage-support] Saving pictures of 3d plots

2010-01-21 Thread Oscar Gerardo Lazo Arjona
I wish to improve animate so that it supports 3d plots (I want to make an animation of a moving 3d curve). I've been told that animate does this by joining several png files. However, I've found no practical way to save pictures of 3d plots. I want let's say i have: sage: v=(sin(z+t),0,t) sage:

[sage-support] non conventional displays of sage objects

2010-01-15 Thread Oscar Gerardo Lazo Arjona
When sage has to display a variable whose name is a greek letter it shows the corresponding greek letter. For example sage: show(var('alpha,beta,gamma')) will show the simbols for this letters, instead of (alpha,beta,gamma) This sort of association is what I think sage should use with the im

[sage-support] sage keywords

2010-01-12 Thread Oscar Gerardo Lazo Arjona
wouldn't it be a good idea to hard-code certain mathematical expressions into sage like pi, I , and e as sage additional keywords so that they could not be variable names? I had a hard time figuring out what was happening when my e^x expression didn't work because i had made e into a string w