Hi Don,
I just uploaded a revised version of the script modified according to
your comments. Check it out!
Kwankyu
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options,
On Oct 14, 4:54 am, Johan Grönqvist wrote:
> A workaround seems to be to integrate the real and imaginary parts
> separately:
>
> sage: numerical_integral(real(sqrt(sec(x)-1)),pi/2, pi)
> (1.9175999157365625e-16, 5.0010185963949996e-17)
> sage: numerical_integral(imag(sqrt(sec(x)-1)),pi/2, pi)
>
Hi all!
I found some time to work on ticket #9706 again. I'm currently working
the doctest failures out. After applying the patch (or ortho_poly
versions 8 or 9) the following doctest fail:
* sage -t -long "devel/sage/sage/symbolic/random_tests.py"
* sage -t -long "devel/sage/sage/symbol
On Oct 13, 6:03 pm, Kwankyu Lee wrote:
> Hi,
> There is a simple script for that purpose in trac ticket #7893.
> http://trac.sagemath.org/sage_trac/ticket/7893
Some comments on the script:
1) The stop_server function does not do error checking to ensure that
the pid contained in the pid file act
So it happened again... I had such a discussion some time ago in one
other thread are are several other problems with numerical integration
which occour.
The thing is, that sage holds a lot of tool to perform numerical
integration to get a good answer (pari, mpmath, scipy etc.) but
sometimes it wo
Thanks for the hints but actually I'm doing this anyway since my sage
holds a lot of experimental stuff which I use for my work. So I have
always an clean intallation of Sage ready if something goes wrong =)
But using git is a nice Idea to manage this, I had thought about that
earlier.
-maldun
O
On 10/14/10 3:17 AM, Alexander Dreyer wrote:
Hi,
are there Sage Worksheets around for explaining the advantages of
Sage to people, which usually use Matlab for scientific projects and
industrial feasibility studies. It's usually about ODE and related
stuff.
Aside from the regular advantages o
PS: If you are especially interested in PDE's you should also look at
the FEMhub Project, which is a Sage fork, and deals with finite
elements: http://femhub.org/
The Femhub packages can be also installed in sage without much
trouble. I tested it out recently, no problem at all.
>The MATLAB symbol
Hi,
I can't help you with that now, but I'm currently working on such
things, but it refers more to optimization, and will need some time,
because I have a lot of other work to do.
But www.scipy.org holds a lot info about comparisons with Matlab and
Python in general, and since scipy and numpy ar
On 10/14/10 09:17 AM, Alexander Dreyer wrote:
Hi,
are there Sage Worksheets around for explaining the advantages of
Sage to people, which usually use Matlab for scientific projects and
industrial feasibility studies. It's usually about ODE and related
stuff.
My Best,
Alexander
I'm not awa
Its 64-bit linux, built from the sage-4.6.alpha3 source.
-Marshall
On Oct 14, 6:41 am, Jan Groenewald wrote:
> Hi Marshall
>
> On Thu, Oct 14, 2010 at 04:40:43AM -0700, mhampton wrote:
> > This doesn't seem to happen on OS X 10.6, but on linux (Ubuntu 9.10,
> > on an intel i7 860) I get:
>
> > s
Hi Marshall
On Thu, Oct 14, 2010 at 04:40:43AM -0700, mhampton wrote:
> This doesn't seem to happen on OS X 10.6, but on linux (Ubuntu 9.10,
> on an intel i7 860) I get:
>
> sudo dmesg |grep pari
> [1137442.823450] python[25794]: segfault at 429 ip 7fba72ee2de1 sp
> 7fffa33e3530 error 4 i
I should have also mentioned that this was on sage-4.6.alpha3, so the
problem is still there.
On Oct 14, 6:40 am, mhampton wrote:
> This doesn't seem to happen on OS X 10.6, but on linux (Ubuntu 9.10,
> on an intel i7 860) I get:
>
> sudo dmesg |grep pari
> [1137442.823450] python[25794]: segfaul
This doesn't seem to happen on OS X 10.6, but on linux (Ubuntu 9.10,
on an intel i7 860) I get:
sudo dmesg |grep pari
[1137442.823450] python[25794]: segfault at 429 ip 7fba72ee2de1 sp
7fffa33e3530 error 4 in libpari-gmp.so.2[7fba72cee000+2c6000]
[1352579.933964] python[17881] general prot
Here's one way to do it using mpmath; there might be better ways:
sage: from mpmath import *
sage: mp.dps = 15; mp.pretty = True
sage: f = lambda x: sqrt(sec(x)-1)
sage: quad(f, [pi/2, pi])
(1.43051518370573e-8 + 3.14159264808335j)
To get back to a sage type you could do:
sage: ans=quad(f, [pi/2
2010-10-14 06:01, Oscar Gerardo Lazo Arjona skrev:
I've been trying to solve this integral:
sage: numerical_integral(sqrt(sec(x)-1),pi/2,pi)
(nan, nan)
But that failed also... So I tried with mathematica:
numerical integration should be fairly easy to extend to complex
numbers. Am I missing so
Hi
On Wed, Oct 13, 2010 at 10:35:44AM +0200, Jan Groenewald wrote:
> > r...@capepoint:/usr/local/src#sage -t "devel/sage/sage/interfaces/sage0.py"
> >
> > sage -t "devel/sage/sage/interfaces/sage0.py"
> > [8.8 s]
> > ---
Hi,
are there Sage Worksheets around for explaining the advantages of
Sage to people, which usually use Matlab for scientific projects and
industrial feasibility studies. It's usually about ODE and related
stuff.
My Best,
Alexander
--
To post to this group, send an email to sage-devel@googleg
18 matches
Mail list logo