[sage-support] Re: Simple multiprocessing example in Sage-Notebook

2010-03-08 Thread Gokhan Sever
On Mar 7, 9:47 pm, William Stein wrote: > With a function as *trivial* as your f above, the overhead of > @parallel will kill your benchmark.  As I explained, for *every* > single call, an entire copy of Sage is forked off.  This is no problem > if evaluating f takes at least a second (say), but i

[sage-support] Re: spellchecker for tinymce

2010-03-08 Thread ma...@mendelu.cz
On 8 bře, 22:21, Rado wrote: > PS. Work-around in the meantime, hit the "edit HTML source" button. > Right click in tinymce also show option to install dictionary switch spellchecking on. Seems to work for me. Thank you. Robert -- To post to this group, send email to sage-support@googlegroup

[sage-support] Re: spellchecker for tinymce

2010-03-08 Thread Rado
PS. Work-around in the meantime, hit the "edit HTML source" button. On Mar 8, 3:17 pm, Rado wrote: > I tried to enable the firefox build-in spellcheck by adding this > simple > optionhttp://wiki.moxiecode.com/index.php/TinyMCE:Configuration/gecko_spell... > in the file ../data/sage/js/tinymce.js

[sage-support] Re: spellchecker for tinymce

2010-03-08 Thread Rado
I tried to enable the firefox build-in spellcheck by adding this simple option http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/gecko_spellcheck in the file ../data/sage/js/tinymce.js in the sagenb package. However, it doesn't work very well, some misspelled words lose their red underline

[sage-support] Re: Newbie – Local Functional Maxim ization

2010-03-08 Thread Marshall Hampton
For numerical results you can use find_root. For example: R. = RDF[] f = (sin(5.0*pi*x))^6 find_root(diff((sin(5.0*pi*x))^6,x),.01,.2) gives 0.10001 as output. -Marshall -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send e

Re: [sage-support] Re: newbie -- defining a multivariate polynomial

2010-03-08 Thread Martin Albrecht
On Monday 08 March 2010, John H Palmieri wrote: > sage: R = PolynomialRing(ZZ, names=['a' + str(i) for i in range(5)] + > ['b' + str(i) for i in range(10)]) > sage: R > Multivariate Polynomial Ring in a0, a1, a2, a3, a4, b0, b1, b2, b3, > b4, b5, b6, b7, b8, b9 over Integer Ring > > Then to define

Re: [sage-support] spellchecker for tinymce

2010-03-08 Thread Robert Bradshaw
On Mar 8, 2010, at 3:51 AM, ma...@mendelu.cz wrote: Dear support, do you know how to enable spelling for Sage notebooks? I use Firefox and it checks input cells automatically, but I do not know hot to check the text in text cells. We don't do any spell checking, have you tried asking on tiny

[sage-support] Re: newbie -- defining a multivariate polynomial

2010-03-08 Thread John H Palmieri
On Mar 8, 7:59 am, lesshaste wrote: > I am having problems simply defining a multivariate polynomial. I have > a slightly modified excerpt from a very helpful python script I was > given that looks like > > #!/opt/sage-4.3.3-linux-32bit-ubuntu_9.10-i686-Linux/sage -python > > import sys > from sag

[sage-support] Re: Newbie – Local Functional Maxim ization

2010-03-08 Thread ma...@mendelu.cz
The problem is that Sage returns only one valua when solving sin(x)==0 and only one value, when solving cos(x) ==0. This makes only two valuaes for equation like sin(x)*cos(x) == 0 which is similar to your derivative. You will have problems with solving f'(x)==0 if the derivative f'(x) is too com

[sage-support] Automatic login to notebook not working with seamonkey 2.0.3

2010-03-08 Thread Prof. Dr. Joerg R. Weimar
When I last used sage, I started it with sage -notebook, and my web browser got automatically logged into the overview of the notebooks I have created. Recently I have upgraded my web-browser to seamonkey 2.0.3, and now this does not work any more: An empty browser window is opened, but the brows

[sage-support] How to create variables with multi-indices?

2010-03-08 Thread Michael
Hi, I'm new to Sage (and Python) and still have some trouble finding my way through the documentation. I would like to create variables with multi-indices (hence indices are n integers (s_1,s_2,...,s_n)) and I would like to do it in such a way that I can access these indices and do some simple

[sage-support] Re: Newbie – Local Functional Maxim ization

2010-03-08 Thread Mike Brown
Hi Marshall, Thank you for replaying. I do realize that this could probably be done by hand. It is the easiest funcation that I have. But I wanted to start with this one to get my feet wet. I have much bigger ones like the Ackley function. I am trying to get my head around what sage is produc

[sage-support] Re: newbie -- defining a multivariate polynomial

2010-03-08 Thread lesshaste
Sorry I should have said a system of multivariate polynomials. Raphael On Mar 8, 3:59 pm, lesshaste wrote: > I am having problems simply defining a multivariate polynomial. I have > a slightly modified excerpt from a very helpful python script I was > given that looks like > > #!/opt/sage-4.3.3-

[sage-support] newbie -- defining a multivariate polynomial

2010-03-08 Thread lesshaste
I am having problems simply defining a multivariate polynomial. I have a slightly modified excerpt from a very helpful python script I was given that looks like #!/opt/sage-4.3.3-linux-32bit-ubuntu_9.10-i686-Linux/sage -python import sys from sage.all import * from polybori.blocks import declare

[sage-support] Re: Newbie – Local Functional Maxim ization

2010-03-08 Thread Marshall Hampton
That particular example is almost easier to do by hand, but one way in Sage is: f=(sin(5*pi*x))^6 solve(diff(f,x)==0,x) which gives [x == 0, x == (1/10)] Of course there are a lot more solutions than those in this case; those might have been chosen by taking one branch of the inverse sine. -M.

[sage-support] complex_plot .png output

2010-03-08 Thread kks
SageThe Sage Notebook Searching for Sage server... Version 4.3.1 - complex_plot(lambda z: z, (-3, 3), (-3, 3)) The color ( phase ) plot can be saved on right-clicking as sage0.png But this image is not a 'proper' .PNG file. In fact it is an html file which can not be disp

[sage-support] spellchecker for tinymce

2010-03-08 Thread ma...@mendelu.cz
Dear support, do you know how to enable spelling for Sage notebooks? I use Firefox and it checks input cells automatically, but I do not know hot to check the text in text cells. Thank you Robert Marik -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from t

Re: [sage-support] Re: Sage Live CD (Alternativ based on Puppy Linux)

2010-03-08 Thread Peter K.H. Gragert
Some other notices: I saved the Puppy files to HD D: A copy to a USB -stick renamed the files on D: because sometimes something goes wrong with shutting down and then starting Puppy from USB has changed (e.g. nearly all desktopitems have vanished) So saving sage worksheets and in case of emergency

[sage-support] Re: How to find a simple solution in ODE

2010-03-08 Thread ma...@mendelu.cz
In Sage 4.3.3 and later (2*sol).log_simplify().solve(y) gives [y(t) == -(e^(2*c + 2*t) + 1)/(e^(2*c + 2*t) - 1)] You may want to rename constant: C=var('C') SOL=(2*sol).log_simplify().solve(y)[0] SOL.subs(c=1/2*ln(C)).simplify_full() y(t) == -(C*e^(2*t) + 1)/(C*e^(2*t) - 1) Robert M. On 8