Re: [sage-support] making unintendet floor division in Sage cloud

2014-04-15 Thread Jori Mantysalo
On Tue, 15 Apr 2014, kcrisman wrote: for d in range(1,8): for n in range(1,d): print n/d 0 0 Just to make it clear, range(1,7) gives Python ints, while [1..7] gives Sage Integers. In general one can also cast to right type and say print Integer(n)/d or print 1*n/d I guess th

[sage-support] Re: Integral result discrepancy between SAGE and MAPLE

2014-04-15 Thread jorges
Thanks John and Robert for your suggestions. I'll definitely fill a bug against maxima -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@

[sage-support] Re: Integral result discrepancy between SAGE and MAPLE

2014-04-15 Thread John H Palmieri
On Tuesday, April 15, 2014 10:36:20 PM UTC-7, John H Palmieri wrote: > > > > On Tuesday, April 15, 2014 9:58:51 PM UTC-7, jorges wrote: >> >> On Wednesday, 16 April 2014 01:24:25 UTC-3, John H Palmieri wrote: >>> >>> I'm guessing that the issue is that your integrand simplifies when q=1 >>> -- a

[sage-support] Re: Integral result discrepancy between SAGE and MAPLE

2014-04-15 Thread Robert Dodier
On 2014-04-16, jorges wrote: > Indeed, that looks good. I still don't understand what you mean by "the > symbolic integration is not valid when q=1". I would think substituting > before or after should not make a difference. Well, if they're not the same, that's a bug in Maxima. If you have ti

[sage-support] Re: Integral result discrepancy between SAGE and MAPLE

2014-04-15 Thread John H Palmieri
On Tuesday, April 15, 2014 9:58:51 PM UTC-7, jorges wrote: > > On Wednesday, 16 April 2014 01:24:25 UTC-3, John H Palmieri wrote: >> >> I'm guessing that the issue is that your integrand simplifies when q=1 -- >> at least one term becomes zero -- but you do the integral before doing this >> sim

[sage-support] Re: Integral result discrepancy between SAGE and MAPLE

2014-04-15 Thread jorges
On Wednesday, 16 April 2014 01:24:25 UTC-3, John H Palmieri wrote: > > I'm guessing that the issue is that your integrand simplifies when q=1 -- > at least one term becomes zero -- but you do the integral before doing this > simplification. Maybe the symbolic integration is not valid when q=1. If

[sage-support] Re: Integral result discrepancy between SAGE and MAPLE

2014-04-15 Thread John H Palmieri
I'm guessing that the issue is that your integrand simplifies when q=1 -- at least one term becomes zero -- but you do the integral before doing this simplification. Maybe the symbolic integration is not valid when q=1. If you plug in the parameters before integrating, you get something very di

[sage-support] Integral result discrepancy between SAGE and MAPLE

2014-04-15 Thread jorges
Hi, Some time ago I translated the derivation of a problem from MAPLE to SAGE. It took some time but I got it all working, until last week I found some strange results for a specific value of one of the parameters. Basically MAPLE and SAGE agree on all but one of the values I tried for parameter

Re: [sage-support] making unintendet floor division in Sage cloud

2014-04-15 Thread kcrisman
On Tuesday, April 15, 2014 8:39:04 PM UTC-4, William wrote: > > On Tue, Apr 15, 2014 at 4:53 PM, Bassie > > wrote: > > I'm running a double for loop, and dividing one over the other. > Sagecloud > > converts these fractions to 0, just like python2, but isn't it exactly > what > > it's not s

Re: [sage-support] making unintendet floor division in Sage cloud

2014-04-15 Thread William Stein
On Tue, Apr 15, 2014 at 4:53 PM, Bassie wrote: > I'm running a double for loop, and dividing one over the other. Sagecloud > converts these fractions to 0, just like python2, but isn't it exactly what > it's not supposed to do. > """ > for d in range(1,8): > for n in range(1,d): > prin

[sage-support] making unintendet floor division in Sage cloud

2014-04-15 Thread Bassie
I'm running a double for loop, and dividing one over the other. Sagecloud converts these fractions to 0, just like python2, but isn't it exactly what it's not supposed to do. """ for d in range(1,8): for n in range(1,d): print n/d 0 0 0 0 0 0 0 0 etc. """ -- You received this messag

Re: [sage-support] Re: Some GIT help

2014-04-15 Thread Kannappan Sampath
Thank you Peter and Volker for all the help! I actually forgot about this one until I had to look this up again! -KnS On Thu, Apr 10, 2014 at 6:51 PM, Peter Bruin wrote: > Hello, > > I'm also a git beginner, so the experts should correct me if there is a > better way, but what I normally do in

[sage-support] Re: How to install latest sage version on window 7 + Question following the online sage tutorial guide

2014-04-15 Thread leif
leif wrote: leun...@gene.com wrote: Q2: I tried to follow the online sage tutorial (http://www.sagemath.org/doc/tutorial/tour_algebra.html). The session of using maxima to do laplace transform. I copied the exact command de1 = maxima("2*diff(x(t),t, 2) + 6*x(t) - 2*y(t)") lde1 = de1.lapla

[sage-support] Re: How to install latest sage version on window 7 + Question following the online sage tutorial guide

2014-04-15 Thread leif
leun...@gene.com wrote: Q2: I tried to follow the online sage tutorial (http://www.sagemath.org/doc/tutorial/tour_algebra.html). The session of using maxima to do laplace transform. I copied the exact command de1 = maxima("2*diff(x(t),t, 2) + 6*x(t) - 2*y(t)") lde1 = de1.laplace("t","s");

[sage-support] Re: show how install sage on windows 8 pc

2014-04-15 Thread Fred Gruber
as far as I know sage does not runs on windows directly. You need to install virtual box https://www.virtualbox.org/ and then download the sage image http://www.sagemath.org/download-windows.html and run in inside virtual box. A whole bunch of tutorial showing how to use virtual box are found i

[sage-support] Re: Heartbleed bug / Sage's OpenSSL spkgs

2014-04-15 Thread leif
Jori Mantysalo wrote: On Mon, 14 Apr 2014, William Stein wrote: That said, even if we plan to update it, for now I think we should delete the openssl spkg asap anyways, since it contains the vulnerability. - - it is now gone. So what should one do to existing installations? After removing sev

Re: [sage-support] Heartbleed bug

2014-04-15 Thread Jori Mantysalo
On Mon, 14 Apr 2014, William Stein wrote: That said, even if we plan to update it, for now I think we should delete the openssl spkg asap anyways, since it contains the vulnerability. - - it is now gone. So what should one do to existing installations? After removing several *ssl* files and d

[sage-support] How to install latest sage version on window 7 + Question following the online sage tutorial guide

2014-04-15 Thread leungl5
Hi, Q1: Can anyone tell me how to install the latest sage on window 7? I am using virtual box with sage 5.1.3 This is the latest version posted on the sage math website link for window installation. If I want to use the 6.1.1, what can I do? I have only used window with no programming exp