Re: [sage-support] Re: How to use the result of solve

2010-03-17 Thread Jose Guzman
Dear BFJ, thanks a lot for your answer. It works very nice! Alternatively, I found that using the rhs() method also works. My idea was to substitute the algebraic expression of the solution, and inserted as denominator of a new function: sage: f(x) = ( 1-e**(t/tau0) )*(e**(-x/tau1)) # this

Re: 回复: [sage-support] Re: 3D plot in sage

2010-03-17 Thread wxuyec
Thank you! - 原文 - 发件人: Jaap Spies 主 题: Re: 回复: [sage-support] Re: 3D plot in sage时 间: 2010年3月16日 05:43:18wxu...@sohu.com wrote:gt; Thank you very much!gt;gt; I will try this.gt;You could try the experimental version found here:http://sage.math.washington.edu/home/jsp/SPKGS/ETS/Jaap--

[sage-support] Re: Syntax highlight in SAGE Calculator?

2010-03-17 Thread Alec Mihailovs
On Mar 16, 5:05 pm, dmitrey dmitrey.kros...@scipy.org wrote: hi all, is it possible somehow to perform syntax highlight in SAGE Calculator, at least for viewing published worksheets? Regards, D. In the documentation (in the notebook) the syntax is highlighted (I mean colored). See, for

[sage-support] Re: Entering matrices whose elements are functions of row/column indices?

2010-03-17 Thread Alec Mihailovs
On Mar 16, 10:47 pm, Alec Mihailovs alec.mihail...@gmail.com wrote: By the way, vector doesn't work with integer numpy arrays, from numpy import array vector(array([1,2])) Traceback (most recent call last): That shouldn't be too hard to implement - in particular, the following works, sage:

[sage-support] Help starting Mathematica with Sage

2010-03-17 Thread Young, Michael I. (DFRC-SR)
I am having a problem getting Mathematica to start from Sage on my Mac. I have created the math file in my local directory and made sure that it is executable but when I try to start Mathematica I get the message RuntimeError: Unable to start mathematica because the command 'math' failed. I

Re: [sage-support] Help starting Mathematica with Sage

2010-03-17 Thread Mike Hansen
On Wed, Mar 17, 2010 at 2:02 PM, Young, Michael I. (DFRC-SR) michael.i.yo...@nasa.gov wrote: I am having a problem getting Mathematica to start from Sage on my Mac.  I have created the “math” file in my local directory and made sure that it is What directory do you mean by local directory? In

[sage-support] newbie: plot() questions

2010-03-17 Thread Nareto
Hello, I have to plot an exponential function with vertical asymptote in point tc, but plot(f(t), (tc - e, tc + e)); gives me unreadable plots for any values of e - if e is to large the curvature is not apreciable (i.e. the plot is confused with the axes) but if it's too small I'm getting

[sage-support] atan2 throws divide by zero

2010-03-17 Thread G B
While waiting to be approved, I think I narrowed this down to a very simple test case. atan2(3,0) -- 1/2*pi atan2(-3,0) -- -1/2*pi atan2(pi,0) -- 1/2*pi atan2(-pi,0) -- RuntimeError: power::eval(): division by zero Any ideas how to get around this? Thanks-- Greg Here's the full

[sage-support] Seeking Cython-101 lesson

2010-03-17 Thread kstueve
Hi, I would like to rewrite the C code in ticket 8135 (Riemann's explicit formula for the prime counting function, based on code from Oliveira e Silva) in Cython so that it can be added to Sage, but I don't have any experience programming in Cython. I am seeking someone at UW skilled in Cython

[sage-support] Re: newbie: plot() questions

2010-03-17 Thread G B
Try plot(f(t), ymax=17, ymin=-12) On Mar 17, 2:32 pm, Nareto renn...@gmail.com wrote: Hello, I have to plot an exponential function with vertical asymptote in point tc, but plot(f(t), (tc  - e, tc + e)); gives me unreadable plots for any values of e - if e is to large the curvature is

[sage-support] Re: atan2 throws divide by zero

2010-03-17 Thread G B
Should have also mentioned: Sage 4.3.3 OS X 10.6.2 64bit Intel MacBook Pro On Mar 17, 5:38 pm, G B g.c.b.at.w...@gmail.com wrote: While waiting to be approved, I think I narrowed this down to a very simple test case. atan2(3,0)   -- 1/2*pi atan2(-3,0)  -- -1/2*pi atan2(pi,0)  -- 1/2*pi

Re: [sage-support] Help starting Mathematica with Sage

2010-03-17 Thread Dr. David Kirkby
Young, Michael I. (DFRC-SR) wrote: I am having a problem getting Mathematica to start from Sage on my Mac. I have created the “math” file in my local directory and made sure that it is executable but when I try to start Mathematica I get the message “RuntimeError: Unable to start mathematica