[sage-support] lost connection to maxima

2009-01-13 Thread ma...@mendelu.cz
Dear all, I had a lecture in computer lab. There were about 15 students on one sage server. After about 20 minutes we got messages, that Sage lost connection to Maxima. I did not know how to establish the connection again and I restarted the virtual server (I run sage on virtual server under

[sage-support] Re: lost connection to maxima

2009-01-13 Thread ma...@mendelu.cz
Many thanks, memory seems to be a big problem on my server (I did tests you suggested on my laptop and each worksheet is consumig a lot of memory). I have seen that sagenb.org has 2GB memory - like my PC. How many users wirk simultaneously on sagenb.org? * I think that I can set up my personal

[sage-support] Re: lost connection to maxima

2009-01-13 Thread ma...@mendelu.cz
Thank you for all your answers. I will upgrade my hardware 512MB is very very piddly for a server. Yes. I thought that this could be enough, because another my server, Mathematical Assistant on Web ( http://user.mendelu.cz/marik/maw/index.php?lang=enform=derivace ) runs pretty well with

[sage-support] Re: lost connection to maxima

2009-01-13 Thread ma...@mendelu.cz
In the text The calculators are divided into several groups, the desription is available, the word description is missing the c. Fixed, thanks. Robert --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from

[sage-support] confusing output? latex(7-(-1)^(1/3))

2009-01-17 Thread ma...@mendelu.cz
Hello all The command latex(7-(-1)^(1/3)) produces 7 - {-1}^{\frac{1}{3}} Is it possible to change it into 7 - \left(-1\right)^{\frac{1}{3}} Which function should be redefined to gain this behavior? I think that two minus sign, one following the other, could be confusing (for students of

[sage-support] Re: lost connection to maxima

2009-01-19 Thread ma...@mendelu.cz
On 14 Led, 08:50, mabshoff michael.absh...@mathematik.uni- dortmund.de wrote: Your server calls Maxima and without taking a closer look it is unclear to me if you start a Maxima process per user or not. Overall Maxima is lighter than Sage primarily because it is all common lisp and does

[sage-support] 2D plot with discontinuity

2009-03-10 Thread ma...@mendelu.cz
Hello all Maxima is much better when drawing 2D plots of functions with jump discontinuity. Sage makes a vertical lines at disontinuities, compare A=plot(1/(x^2-1),(x,-3,3)) show(A,ymax=10,ymin=-10) in sage and plot2d(1/(x^2-1),[x,-3,3],[y,-10,10]) in Maxima. Is it possible to remove these

[sage-support] jsmath bitmap fonts in sage 3.4 and solve command

2009-03-16 Thread ma...@mendelu.cz
Hello, I installed today new sage with jsmath bitmap font. These fonts did not work, I had to put the bitmap fonts from old installation to / opt/sage-3.4-linux-Debian_GNU_Linux_5.0_lenny-i686-Linux/data/extcode/ javascript/jsmath manually. From this reason I report this problem (maybe a bug).

[sage-support] Re: jsmath bitmap fonts in sage 3.4 and solve command

2009-03-18 Thread ma...@mendelu.cz
On 17 Bře, 00:41, Jason Grout jason-s...@creativetrax.com wrote: ma...@mendelu.cz wrote: Robert, for now, you can installhttp://sage.math.washington.edu/home/mabshoff/spkgs/jsmath-image-font... into sage 3.4 and it should work.  The javascript code was recently reorganized, so

[sage-support] Re: Bug in plot?

2009-03-18 Thread ma...@mendelu.cz
On 18 Bře, 20:23, adrian nihilalienumcr...@gmail.com wrote: If i try to do plot(cos(x),(x,-3,3)) This command works in Internet version www.sagenb.org The same for sphere() Maybe something hangs from previous computation? Did the restart of worksheet not help? Robert in sage 3.4 (through

[sage-support] Re: Korean characters in TinyMCE

2009-03-19 Thread ma...@mendelu.cz
Hello, the same is with Czech. Seems to be related to http://groups.google.cz/group/sage-support/browse_thread/thread/60a863def66c05a1/ca1626cc03a29bfa?lnk=gstq=accent#ca1626cc03a29bfa and reported on http://trac.sagemath.org/sage_trac/ticket/4956 Robert On 19 Bře, 08:27, Dan Drake

[sage-support] Re: Korean characters in TinyMCE

2009-03-19 Thread ma...@mendelu.cz
On 19 Bře, 07:00, Kwankyu ekwan...@gmail.com wrote: Hi, If I write in Korean and save in the TinyMCE editor in the Sage Notebook, it appears fine. But if I open the cell to change the content, then the Korean characters are all gone and strange characters are shown instead. Perhaps an

[sage-support] bug in region_plot

2009-03-19 Thread ma...@mendelu.cz
Hello, this command produces one half of a cirle, not 1/4 as excepted. I think that this is a bug in sage 3.4 Robert region_plot([y0,x0,x^2+y^23], (-3, 3), (-3, 3),plot_points=100,incol='gray').show(aspect_ratio=1) --~--~-~--~~~---~--~~ To post to this group,

[sage-support] Re: Korean characters in TinyMCE

2009-03-19 Thread ma...@mendelu.cz
Hello, I used the commands hg_sage.import_patch(http://trac.sagemath.org/sage_trac/raw- attachment/ticket/4547/trac_4547.patch) hg_sage.import_patch(http://trac.sagemath.org/sage_trac/raw- attachment/ticket/5211/trac_5211.patch) hg_sage.import_patch(http://trac.sagemath.org/sage_trac/raw-

[sage-support] Re: Korean characters in TinyMCE

2009-03-19 Thread ma...@mendelu.cz
On 19 Bře, 16:55, ma...@mendelu.cz ma...@mendelu.cz wrote: Hello, I used the commands hg_sage.import_patch(http://trac.sagemath.org/sage_trac/raw- attachment/ticket/4547/trac_4547.patch) hg_sage.import_patch(http://trac.sagemath.org/sage_trac/raw- attachment/ticket/5211/trac_5211.patch

[sage-support] Re: bug in region_plot

2009-03-19 Thread ma...@mendelu.cz
On 19 Bře, 16:47, Jason Grout jason-s...@creativetrax.com wrote: ma...@mendelu.cz wrote: Hello, this command produces one half of a cirle, not 1/4 as excepted. I think that this is a bug in sage 3.4 Robert region_plot([y0,x0,x^2+y^23], (-3, 3), (-3, 3),plot_points=100,incol='gray

[sage-support] Re: bug in region_plot

2009-03-19 Thread ma...@mendelu.cz
This works: sage: var('x,y') sage: region_plot([y0,x0,x^2+y^23], (x, -3, 3), (y, -3,3)) But if one leaves out the variables, one gets an half circle: sage: region_plot([y0,x0,x^2+y^23], (-3, 3), (-3,3)) I've written a patch which fixes

[sage-support] Re: Testing whether a function is always positive

2009-03-19 Thread ma...@mendelu.cz
Do you mean something like bool(x^6-1) Or you can use maxima inside sage and the command is http://maxima.sourceforge.net/docs/manual/en/maxima_5.html#Item_003a-is I think that in general you can expect poor results in any computer algebra system (like you write about Maple). Robert On

[sage-support] Re: Bug with plotting cube roots

2009-03-20 Thread ma...@mendelu.cz
On 20 Bře, 13:53, kcrisman kcris...@gmail.com wrote: something like this, because there are too many similar things to catch. I also believe Maple does not plot the negative values. You are right, Maple plots x^(1/3) only for positive x. As a side effect, if you try to plot the function

[sage-support] Re: Korean characters in TinyMCE

2009-03-20 Thread ma...@mendelu.cz
Hello all, after installing these patches I observed the folloving behavior: If I enter $x$ in tinymce, save and then enter again, I see the picture for x and not $x$. When I save again, $x$ is replaced by sentence like span class=typesetspan class=scaleimg style=width: 16px; vertical-align:

[sage-support] Re: Number of operands in an expression

2009-03-21 Thread ma...@mendelu.cz
On 21 Bře, 07:05, Craig Citro craigci...@gmail.com wrote: That works well, but what about when the expression is multivariate, such as: expand((1+x+1/y)^10) It would be nice to have a general command to count the number of summands in such an expression. Yep, I agree. Here is a

[sage-support] Bad patch for unicode chars in TinyMCE?

2009-03-21 Thread ma...@mendelu.cz
Hello, this is related to the thread at http://groups.google.cz/group/sage-support/browse_thread/thread/2a699360a3847bab I think that installation of http://trac.sagemath.org/sage_trac/attachment/ticket/5564/trac_5564-2.patch causes that TinyMCE cannot be used to edit mathematical formulas If I

[sage-support] Re: Bad patch for unicode chars in TinyMCE?

2009-03-25 Thread ma...@mendelu.cz
On 22 Bře, 04:46, Jason Grout jason-s...@creativetrax.com wrote: As a hint to whoever wants to hunt this down if they get to it before me: the original text of the cell is stored in a parameter passed to tinymce when tinymce is initialized.  This is passed in the data attribute in the

[sage-support] Re: Step by step result

2009-04-11 Thread ma...@mendelu.cz
On 11 Dub, 02:26, mabshoff michael.absh...@mathematik.uni- dortmund.de wrote: On Apr 10, 5:21 pm, kcrisman kcris...@gmail.com wrote: If I remember correctly Derive had such a step by step mode for various things like limits, integration and so on. Derive itself was killed as a product, so

[sage-support] Re: Step by step result

2009-04-12 Thread ma...@mendelu.cz
Hi, great idea, but remember that computer algebra systems use slightly different way than humans to solve problems... I think than more people work on something like this -- just guessing from questions like http://thread.gmane.org/gmane.comp.mathematics.maxima.general/23048/focus=23051 and

[sage-support] Re: setup a sage server

2009-04-17 Thread ma...@mendelu.cz
Hi, I think that it is insecure to run sage on a server which is used for other tasks (webserver, mail server, ). At least run sage not under your or root account, otherwise you give to the sage users all your privileges. Better idea is to have one computer for Sage and nothing more. As

[sage-support] Re: beginner problems

2009-04-20 Thread ma...@mendelu.cz
On 20 Dub, 08:17, Florian Beutler florian.beut...@gmx.de wrote: if I use rho = 0.0058/((r/2.4)*(1+(r/2.4))^2) integral(rho,r,0,10) btw: your integral is divergent (behaves like 1/r near zero). R. --~--~-~--~~~---~--~~ To post to this group, send email

[sage-support] Re: beginner problems

2009-04-20 Thread ma...@mendelu.cz
Hi, try this r=var('r') rho = 0.0058/((r/2.4)*(1+(r/2.4))^2) integral(rho,r,0.01,10).n() Robert Marik On 20 Dub, 08:17, Florian Beutler florian.beut...@gmx.de wrote: hallo I just installed sage today and probably the problem I have at the moment is a typical beginner problem, but

[sage-support] Re: unevaluated input (det, int, ....)

2009-04-22 Thread ma...@mendelu.cz
On Apr 21, 8:34 pm, kcrisman kcris...@gmail.com wrote: On Apr 19, 12:42 pm, ma...@mendelu.cz ma...@mendelu.cz wrote: Hell, I think that my question is related tohttp://groups.google.cz/group/sage-support/browse_thread/thread/7cb33... How can I write a function which takes determinant

[sage-support] Re: Symbolic algebra expansion of products of sums

2009-04-23 Thread ma...@mendelu.cz
On 23 Dub, 20:38, William Stein wst...@gmail.com wrote: On Thu, Apr 23, 2009 at 6:44 AM, philabuster pollock.p...@gmail.com wrote: Hi, I was wondering why Sage expands products of sums in an unexpected order: var('a0,a1,b0,b1,b2,c0,c1,c2,c3,d0,d1,d2,d3,d4') The ordering of these

[sage-support] differential equations in SAGE

2009-04-28 Thread ma...@mendelu.cz
Dear SAGE experts, from the output of desolve?? command I understand that desolve call maxima and ode2 to solve ordinary differential equations. 1. How can I get the access to method variable? commands maxima(ode2('diff(y,x)=x^6*cos(y),y,x)) maxima('method') give the answer separable, but

[sage-support] Re: differential equations in SAGE

2009-04-28 Thread ma...@mendelu.cz
On 28 Dub, 15:42, ma...@mendelu.cz ma...@mendelu.cz wrote: Dear SAGE experts, forgot to write: the test notebook for these issues is at http://www.sagenb.org/home/pub/494/ Robert --~--~-~--~~~---~--~~ To post to this group, send email to sage-support

[sage-support] substituting initial condition into ODE

2009-04-28 Thread ma...@mendelu.cz
Dear memebers of SAGE-support I wonder if it is possible to substitute initial conditions into an equation produced by desolve. I tried something like y=function('y',x) desolve(diff(y,x)+sin(x)*y^6==0,y) sol({x:pi,y:9}) and got 1/(5*y(pi)^5) == c + 1 but I would like to see 1/(5*9^5) == c

[sage-support] Re: substituting initial condition into ODE

2009-04-28 Thread ma...@mendelu.cz
substitutions. Anyway, I get this: sage: y=function('y',x) sage: desolve(diff(y,x)+sin(x)*y^6==0,y) 1/(5*y(x)^5) == c - cos(x) sage: desolve(diff(y,x)+sin(x)*y^6==0,y,[pi,9]) 1/(5*y(x)^5) == (-295245*cos(x) - 295244)/295245 Does that help? On Tue, Apr 28, 2009 at 10:36 AM, ma...@mendelu.cz

[sage-support] Re: substituting initial condition into ODE

2009-04-29 Thread ma...@mendelu.cz
understand. On Tue, Apr 28, 2009 at 1:59 PM, ma...@mendelu.cz ma...@mendelu.cz wrote: Hello, I just want to test, if I can do with my students in computer lab what they usualy do on the paper 1. find general solution 2. substitute from initail conditions 3. find c 4. use this c in general

[sage-support] Re: outdated version of Sage in Ubuntu 9.04

2009-05-04 Thread ma...@mendelu.cz
On 4 Kvě, 11:29, mabshoff michael.absh...@mathematik.uni-dortmund.de wrote: I would suggest you complain in the Maxima group to have them take a stake into packaging current Maxima releases for Debian/Ubuntu. AFAIK the Maxima maintainer for Debian isn't exactly underworked, so I am sure

[sage-support] Re: outdated version of Sage in Ubuntu 9.04

2009-05-04 Thread ma...@mendelu.cz
Hi On 4 Kvě, 11:56, mabshoff michael.absh...@mathematik.uni-dortmund.de wrote: Hello, not related to Sage, but if I remember correctly, newer Maxima is in Debian Sid (compiled with GCL). This Sid version is slower than 5.13 (with GCL also). Do you have any idea why that is and how much

[sage-support] double superscript error

2009-09-04 Thread ma...@mendelu.cz
Hello, this code give double exponent error. var('a x b gamma p') f(x)=a*x^((gamma-p))+b*x^((-p)) (f((b*p/((gamma-p)*a))^(1/gamma))).show() Is it error in sage to TeX converter? Tested today on sagenb.org Thanks Robert Marik --~--~-~--~~~---~--~~ To post to this

[sage-support] tinyMCE bug (charcters ř čě etc.)

2009-09-18 Thread ma...@mendelu.cz
Hello all, thank you for such a wonderfull software like Sage. I appretitate the support for nonenglish languages in commnets has been added some moths ago. However, I returned to Sage after several moths without any CAS and observed, that if I use letters like ěščř in TinyMCE editor, save and

[sage-support] solve(x==sqrt(99),x)

2009-09-18 Thread ma...@mendelu.cz
Dear users of Sage, sorry to bother again, with checked Typeset button the command solve(x==sqrt(99),x) gives x==3*sqrt(11) However sqrt(99) gives 3\,\sqrt{11}. I think that this second format should be used also in the first case and I am almost sure that it was in some previoous versions of

[sage-support] sage vmware image visible from Internet

2009-09-24 Thread ma...@mendelu.cz
Hello all, I am trying to provide Sage server for my students. If I run Sage in vmware, I can access the vmware virtual machine from my PC only. The students can connect to my PC, but not to the virtual machine. I guess, some port forwarding and NAT setup i snecessary. I searched on

[sage-support] sage vmware image visible from Internet

2009-09-24 Thread ma...@mendelu.cz
Hello all, I am trying to provide Sage server for my students. If I run Sage in vmware, I can access the vmware virtual machine from my PC only. The students can connect to my PC, but not to the virtual machine. I guess, some port forwarding and NAT setup i snecessary. I searched on

[sage-support] Re: sage vmware image visible from Internet

2009-09-24 Thread ma...@mendelu.cz
On 24 zář, 09:17, Robert Bradshaw rober...@math.washington.edu wrote: This depends on what kind of PC you're running the server on. The way we do sagenb.org is have apache running on the host machine which forwards all incoming connections to the virtual machine with re- writing rules. This

[sage-support] Re: sage vmware image visible from Internet

2009-09-24 Thread ma...@mendelu.cz
On 24 zář, 09:29, Jason Grout jason-s...@creativetrax.com wrote: In addition to Robert Bradshaw's answer, you could also set up bridged networking in VMWare for this sort of thing. Thanks, but the network policy on our university allows to have only one (given and registered) MAC address

[sage-support] Re: Plot function for x^(1/3)

2009-09-24 Thread ma...@mendelu.cz
On 24 zář, 20:23, Iskay matis...@gmail.com wrote: I wanted to plot x^(1/3) in sage. When I typed it on sage it returned this. f = x^(1/3) plot(f) verbose 0 (2999: plot.py, generate_plot_points) WARNING: When plotting, failed to evaluate function at 100 points. verbose 0 (2999: plot.py,

[sage-support] Re: Evaluating a Jacobian

2009-09-24 Thread ma...@mendelu.cz
On 25 zář, 04:27, Sterling sterlin...@gmail.com wrote: How do I evaluate a Jacobian at certain values? For example, I type: x1,x2,x3 = var('x1 x2 x3') f1(x1,x2,x3) = 3*x1 - cos(x2*x3) - (1/2) f2(x1,x2,x3) = x1^2 - 81*(x2 + 0.1)^2 + sin(x3) + 1.06 f3(x1,x2,x3) = e^(-x1*x2) + 20*x3 +

[sage-support] Re: Evaluating a Jacobian

2009-09-24 Thread ma...@mendelu.cz
On 25 zář, 05:29, ma...@mendelu.cz ma...@mendelu.cz wrote: On 25 zář, 04:27, Sterling sterlin...@gmail.com wrote: How do I evaluate a Jacobian at certain values? For example, I type: x1,x2,x3 = var('x1 x2 x3') f1(x1,x2,x3) = 3*x1 - cos(x2*x3) - (1/2) f2(x1,x2,x3) = x1^2 - 81*(x2

[sage-support] Re: sage vmware image visible from Internet

2009-09-25 Thread ma...@mendelu.cz
On 24 zář, 11:08, William Stein wst...@gmail.com wrote: For the record, here is the actual entry I use in /etc/httpd.conf: VirtualHost * RewriteEngine On ServerName sagenb.org ProxyPass/http://sagenb2:8000/ ProxyPassReverse /http://sagenb2:8000/ DocumentRoot /

[sage-support] How to kill Sage started via nohup + owner of sage directory

2009-09-28 Thread ma...@mendelu.cz
Hello all, I established Sage server for our university (running in vmware, behind firewall, thanks for help from this group concerning port forwarding etc.) and now I have two more questions. 1. I start Sage in rc.local by nohup su sage -c 'cd /opt/sage./sage notebook.sage' /dev/null How

[sage-support] Re: strange Permission denied problem

2009-09-29 Thread ma...@mendelu.cz
On 26 zář, 15:27, Thierry Dumont tdum...@math.univ-lyon1.fr wrote: ... strange only for me I hope. I have similar problem. As I undesrstand, if the user sage runs program sage and user sageuser is in server_pool, then .sage directory should be writeable for sage, but not for sageuser. Right?

[sage-support] Ugly LaTeX formula inside picture

2009-09-30 Thread ma...@mendelu.cz
Dear sage users, I'm trying this piece of code ( http://alpha.sagenb.org/home/pub/16 ) x,y = var('x y') (x_min, x_max, y_min,y_max)=(0,2,0,4) f(x,y)=cos(y) A=plot_slope_field(f(x,y),(x, x_min, x_max), (y, y_min,y_max))+text (('$y\,^{\prime}=%s $'%latex(f(x,y))),(x_max,y_max),

[sage-support] How to simplify each term in a sum separately

2009-09-30 Thread ma...@mendelu.cz
Hello all, I am looking for the possibility how to simplify each term in an expression separately. Consider A=x/((x^2/y^2 + 1)*y) + arctan(x/y) I wish to get x*y/(x^2+y^2)+atan(x/y) , which can be produced in Maxima by map(fullratsimp, A) * simplify(A) gives A - no simplification *

[sage-support] Re: How to simplify each term in a sum separately

2009-10-01 Thread ma...@mendelu.cz
On 30 zář, 22:17, ma...@mendelu.cz ma...@mendelu.cz wrote: Hello all, I am looking for the possibility how to simplify each term in an expression separately. Consider A=x/((x^2/y^2 + 1)*y) + arctan(x/y) I wish to get  x*y/(x^2+y^2)+atan(x/y)  , which can be produced in Maxima by map

[sage-support] Re: How to simplify each term in a sum separately

2009-10-01 Thread ma...@mendelu.cz
On 1 říj, 15:27, kcrisman kcris...@gmail.com wrote: Hope this helps, Yes, it helped. Thank you. Robert Marik - kcrisman --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to

[sage-support] Re: How make notebooks use common base for relative urls? e.g. /foo/login and /foo/register?

2009-10-03 Thread ma...@mendelu.cz
On 3 říj, 08:37, William Stein wst...@gmail.com wrote: On Fri, Oct 2, 2009 at 10:34 PM, Mike Hansen mhan...@gmail.com wrote: Hello, On Sat, Oct 3, 2009 at 12:17 PM, Chris Seberino cseber...@gmail.com wrote: The wonderful Sage notebook uses relative urls like /login and /register.  How

[sage-support] desolve - my missunderstanding or a bug in Sage?

2009-10-03 Thread ma...@mendelu.cz
Dear sage users and developers trying to solve y''+4y=0 with initial conditions y(0)=0 and y'(0)=0 y=function('y',x) eq=diff(y,x,2)+4*y==0 desolve(eq,y,ics=[0,0,0]) sage returns y(0)*cos(2*x) and not 0 What is wrong? The help for the desolve command shows the same behavior on slighhtly

[sage-support] Re: Error gnome launching SAGE

2009-10-03 Thread ma...@mendelu.cz
I do not understand french error messages, but what about http://localhost:8000 and http://127.0.0.1:8000 Is the sage notebook there? btw: the french messages are probably not from sage Robert Marik On 3 říj, 12:40, Michel Barthélémy Billard Sirakawa bi...@ouvaton.org wrote: PC emachine

[sage-support] Re: desolve - my missunderstanding or a bug in Sage?

2009-10-03 Thread ma...@mendelu.cz
: This is a known bug. Marshall and I tried to fix it during a SageDays in Seattle but failed to figure out the magic in Robert Bradshaw's code for desolve. I think it is easy to fix for those who know how to fix it easily, but that rules me out:-) On Sat, Oct 3, 2009 at 3:30 AM, ma...@mendelu.cz ma

[sage-support] Re: desolve - my missunderstanding or a bug in Sage?

2009-10-03 Thread ma...@mendelu.cz
in Robert Bradshaw's code for desolve. I think it is easy to fix for those who know how to fix it easily, but that rules me out:-) On Sat, Oct 3, 2009 at 3:30 AM, ma...@mendelu.cz ma...@mendelu.cz wrote: Dear sage users and developers trying to solve y''+4y=0  with initial conditions y

[sage-support] Re: desolve - my missunderstanding or a bug in Sage?

2009-10-03 Thread ma...@mendelu.cz
On 3 říj, 23:22, ma...@mendelu.cz ma...@mendelu.cz wrote: I have not enought skill in Python, Sage, hg and related thinks. Is there any person interested in the problem, which sould like to try this? The following code works in Sage y=function('y',x) k1,k2=var('k1 k2') x0,y0,y1=0,1,2

[sage-support] Re: desolve - my missunderstanding or a bug in Sage?

2009-10-04 Thread ma...@mendelu.cz
about Python or Mercurial either.  If you don't have a Trac account, email William privately for one, and then you can log this as a ticket and create a patch.  In the meantime the documentation for doing very basic patches is pretty good in the developer's guide, which I think is linked on

[sage-support] Re: desolve - my missunderstanding or a bug in Sage?

2009-10-05 Thread ma...@mendelu.cz
On 4 říj, 14:57, Marshall Hampton hampto...@gmail.com wrote: For the first time dealing with some of these things the IRC channel sage-devel is very helpful. It would be great if you could do this. I am happy to review it, you can put me as a CC: or reviewer. I think your solution sounds

[sage-support] Re: desolve - my missunderstanding or a bug in Sage?

2009-10-05 Thread ma...@mendelu.cz
I have one solution :) very very poor (really very poor) solution and from this reason I will not supply the patch yet. The method is to call ode2 again, now together with ic2 in one new call of Maxima. The (fixed) file is desolvers.py is at http://user.mendelu.cz/marik/temp/desolvers.py

[sage-support] Re: desolve - my missunderstanding or a bug in Sage?

2009-10-06 Thread ma...@mendelu.cz
On 5 říj, 23:14, calcp...@aol.com wrote: Wow, this sounds like a big bug.  I will be using Sage quite a bit in a Calculus I and II lab in the Spring.  Is this going to be huge problem? Do not think that this will be huge problem. You cal allwayas use Maxima instead Sage. In notebook you can

[sage-support] Re: desolve - my missunderstanding or a bug in Sage?

2009-10-06 Thread ma...@mendelu.cz
conditions and I do not know how can I find revision number from the output of hg_sage.log() which looks like this. changeset: 12847:506e71164e58 tag: tip user:Robert Marik ma...@mendelu.cz date:Tue Oct 06 11:36:32 2009 +0200 summary: fix for initial conditions

[sage-support] Re: desolve - my missunderstanding or a bug in Sage?

2009-10-06 Thread ma...@mendelu.cz
On 6 říj, 15:21, kcrisman kcris...@gmail.com wrote: ere. Thanks for taking the time to look into this! Thank you for your help. I posted the patch http://trac.sagemath.org/sage_trac/ticket/6479 which (I hope) fixes ic2 and bc2 commands. Results of tests have been updated and test related to

[sage-support] Re: latex

2009-10-06 Thread ma...@mendelu.cz
Hm, this is my Sage 4.1.1 a1=-(sqrt(13)-1)/2 latex(a1) output is -\frac{1}{2} \, \sqrt{13} + \frac{1}{2} You may have old version of Sage latex(-{{\sqrt[13]-1\over[2}}) produces error Robert Marik On 6 říj, 21:10, Mikie thephantom6...@hotmail.com wrote: If I have this a1=-(sqrt(13)-1)/2 in

[sage-support] Re: latex

2009-10-06 Thread ma...@mendelu.cz
me the \over.  I am using 3.4. When I assign it to a variable it works as below.  If you would try a1=maxima.solve(x^2-x-3,x) R1=a1[0] R3=maxima.rhs[R1] latex(R3) produces -- {{1-\sqrt{13}}\over{2}} not good On Oct 6, 1:46 pm, ma...@mendelu.cz ma...@mendelu.cz wrote: Hm, this is my

[sage-support] Re: Slowness when trying to serve multiple notebooks from same server.

2009-10-06 Thread ma...@mendelu.cz
This is very very small RAM for 7 sage notebooks I think that this has been dicussed here or in sage-edu in January Robert Marik On 7 říj, 01:00, Chris Seberino cseber...@gmail.com wrote: I have an Ubuntu 9.04 Xen virtual machine with 350 Mb RAM. (from linode.com hosting services) I tried

[sage-support] Re: Slowness when trying to serve multiple notebooks from same server.

2009-10-07 Thread ma...@mendelu.cz
On 7 říj, 01:19, ma...@mendelu.cz ma...@mendelu.cz wrote: This is very very small RAM for 7 sage notebooks I think that this has been dicussed here or in sage-edu in January Btw. where are posts from January? They seem to be deleted from this group. Are they deleted? Or is there something

[sage-support] Re: Slowness when trying to serve multiple notebooks from same server.

2009-10-07 Thread ma...@mendelu.cz
On 7 říj, 13:36, William Stein wst...@gmail.com wrote: http://groups.google.com/group/sage-edu/topics?start=80sa=N Sorry for missunderstanding, I mean sage-support, seems to start in October http://groups.google.com/group/sage-support/topics?start=1 Robert

[sage-support] Re: Slowness when trying to serve multiple notebooks from same server.

2009-10-07 Thread ma...@mendelu.cz
On 7 říj, 13:42, William Stein wst...@gmail.com wrote: On Wed, Oct 7, 2009 at 4:40 AM, ma...@mendelu.cz ma...@mendelu.cz wrote: It's October right _now_. The archive doesn't start in October, it ends in October. Oops, sorry :) So another threat related to memory and Sage in education

[sage-support] Re: substitution

2009-10-07 Thread ma...@mendelu.cz
On 7 říj, 16:21, Ranjit rjcha...@gmail.com wrote: I'm trying to figure out how to do a simple substitution. I've the following code: var('r beta beta_0 R a h') psi=function('psi',r) sigma=function('sigma',r) H_0=function('H_0',r) H_grad = lambda psi :

[sage-support] Re: help with plot3D

2009-10-07 Thread ma...@mendelu.cz
* Use plot3d * typo error mp2 versus m2 and mp1 versus m1 ? This works. var('t1 t2') m1 = 0.33; m2 = 0.39; sap = 1.2; saf = 0.4; H = 10; E(t1,t2)= -1*m1*H*sin(t1) - m2* H * sin(t2)+sap * cos(t2-t1)-saf * sin (t1) plot3d(E,(t1,-5,5),(t2,-5,5)) R.M. On 7 říj, 23:09, SG

[sage-support] Re: substitution

2009-10-08 Thread ma...@mendelu.cz
perhaps, no subst is necessary: var('r beta beta_0 R a h') psi=function('psi',r) sigma=function('sigma',r) H_0=function('H_0',r) H_grad = lambda psi : (1/2)*(beta/beta_0)*R^2*(psi.diff(r))^2 H_0(psi) = -(1/2)*(beta/beta_0-1)*psi^2 + beta*a*psi^4 + beta*h*psi

[sage-support] Re: substitution

2009-10-08 Thread ma...@mendelu.cz
On 8 říj, 19:41, Ranjit rjcha...@gmail.com wrote: does not. So I guess there's an upper limit to the number of operations that the expression being replaced can have to work in subs (). Perhaps true, but IMHO very risky guess which is not true, if pattern matching in Maxima is behind the

[sage-support] Re: Force quadrature rather than symbolic integration?

2009-10-12 Thread ma...@mendelu.cz
Perhaps somebody knows how is this supported in Sage. I know only how to get the answer via maxima and http://maxima.sourceforge.net/docs/manual/en/maxima_20.html#Item_003a-Introduction-to-QUADPACK sage: expr=sin(x)/x sage: ex=expr._maxima_() sage: print ex.quad_qags(x,1,2,).sage() sage:

[sage-support] Re: Force quadrature rather than symbolic integration?

2009-10-12 Thread ma...@mendelu.cz
numerical_integral? On 12 říj, 13:01, ma...@mendelu.cz ma...@mendelu.cz wrote: Perhaps somebody knows how is this supported in Sage. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send

[sage-support] Re: How group terms in an expression? e.g. all terms containing x or y

2009-10-12 Thread ma...@mendelu.cz
(3*x + m*x + a*y+b*y ).collect(x).collect(y) On 12 říj, 19:20, Chris Seberino cseber...@gmail.com wrote: How group terms in an expression? e.g. How group terms with x and y in:               3*x + m*x + a*y+b*y to get:               (3 + m)*x + (a + b)*y ?? cs

[sage-support] Re: How group terms in an expression? maybe a bug ?

2009-10-12 Thread ma...@mendelu.cz
no error with 4.1.2.rc0 R.M. [ma...@um-bc201 /opt/sage-4.1.2.rc0]$ ./sage -- | Sage Version 4.1.2.rc0, Release Date: 2009-09-30 | | Type notebook() for the GUI, and license() for information.|

[sage-support] implicit plotting

2009-10-13 Thread ma...@mendelu.cz
Hello all, is there any other possibility how to plot implicit function than implicitplot? I do not like implicitplot too much, since it is in fact countourplot and it is not easy to set the color (for example). Thanks Robert Marik --~--~-~--~~~---~--~~ To post

[sage-support] Re: implicit plotting

2009-10-13 Thread ma...@mendelu.cz
On 14 říj, 05:51, Jason Grout jason-s...@creativetrax.com wrote: implicit_plot(x^2+y^2==1, (x,-2, 2), (y,-2, 2), cmap=[red]) Thanks, I missed this example. I tried rgbcolor and color option and then tried blindly various predefined colormaps. Robert Marik

[sage-support] Re: How make worksheet run some code at startup like var(a b c d ... z) ??

2009-10-13 Thread ma...@mendelu.cz
On 14 říj, 06:20, Jason Grout jason-s...@creativetrax.com wrote: Chris Seberino wrote: How make worksheet run some code at startup? e.g. var(a b c d ... z) ? Currently my students need to evaluate var(a b c ... z) in every worksheet I give them.  It would be nice to hardcode this

[sage-support] How to approximate eigenvalues of matrix? n() does not work in this case.

2009-10-14 Thread ma...@mendelu.cz
Hello all trying approximate numerically eigenvalues of a matrix I get Error sage: A=matrix(((0,1),(-1,0))) sage: B=A.eigenvalues()[0] sage: n(B) Traceback (click to the left for traceback) ... ValueError: Cannot coerce algebraic number with non-zero imaginary part to algebraic real I guess,

[sage-support] Re: echelon_form of matrix with a symbol

2009-10-16 Thread ma...@mendelu.cz
On 16 říj, 05:45, William Stein wst...@gmail.com wrote: On Thu, Oct 15, 2009 at 7:45 PM, Matt Rissler discn...@gmail.com wrote: Basically, I'm having student look for the x that makes the matrix singular, or the columns linearly dependent, or ...  However Sage behaves like so: sage:

[sage-support] Re: What is the default font in Sage notebooks? Possible to hardcode a new default?

2009-10-16 Thread ma...@mendelu.cz
I think that you can use custom css file in your .sage directory. I do not remember he name of this file, try to seach this group, it has been dicussed - here or in sage-devel Robert Marik On 16 říj, 00:21, Chris Seberino cseber...@gmail.com wrote: On Oct 15, 2:21 pm, William Stein

[sage-support] Re: plot(from server)

2009-10-16 Thread ma...@mendelu.cz
On 16 říj, 06:28, Mike Hansen mhan...@gmail.com wrote: How do _you_ detect when the session is over? Your code needs to be responsible for detecting when the session is over and deleting the PNGs. You can also use sufficiently random and long names in temp directory and in cron daemon

[sage-support] Re: slope function

2009-10-16 Thread ma...@mendelu.cz
On 16 říj, 21:32, Laurent moky.m...@gmail.com wrote: a = 1 b = 2 c = 3 d = 8 print \\frac{,a,-,b,}{,c,-,d,}=,(a-b)/(c-d) perhaps print \\frac{,a,-(,b,)}{,c,-,d,}=,(a-b)/(c-d) if b0 Robert --~--~-~--~~~---~--~~ To post to this group, send email to

[sage-support] Re: Defining a function including numerical_integral

2009-10-17 Thread ma...@mendelu.cz
On 17 říj, 23:06, Laurent moky.m...@gmail.com wrote: My aim is to do solve(g(x)=0.5) for example. Any ideas ? I have no idea how to solve your question, but even if you solve it, the command solve will not work in this kind of problem. You should use some command which solves

[sage-support] Re: How to change the config of sage

2009-10-23 Thread ma...@mendelu.cz
Probably depends not on Sage but on your OS. Customize file associtations in your file manager. Or what aoubt to save picture in native format and use convertcommand to convert into gif or anything else. Robert On 23 říj, 12:34, wxu...@sohu.com wrote: Hi all, when I use sage.4.0.2 to plot a

[sage-support] Re: latex issue after upgrading to 4.2

2009-10-30 Thread ma...@mendelu.cz
On 30 říj, 14:32, Flavio Coelho fccoe...@gmail.com wrote: On Oct 30, 12:35 pm, ma...@mendelu.cz ma...@mendelu.cz wrote: Where do you have this problem? In text cell produced by TinyMCE? If so, then it has nothing to do with your LaTeX installation - this is formated by jsmath. Do you

[sage-support] Re: latex issue after upgrading to 4.2

2009-10-30 Thread ma...@mendelu.cz
On 30 říj, 13:30, Flavio Coelho fccoe...@gmail.com wrote: I forgot to mention my platform: Ubuntu Karmic Koala, Firefox 3.5.3 From: http://www.math.union.edu/~dpvc/jsMath/changes.html The linux version of Firefox 3.5 doesn't seem to be able to read the jsMath TeX fonts (probably due to

[sage-support] Re: publishing a worksheet

2009-10-31 Thread ma...@mendelu.cz
You have to publish it, not share! Robert On 31 říj, 21:24, calcp...@aol.com wrote: When you are happy with a worksheet, how do you publish it?  Do you  simply click in the notebook() where it says share?  I did so, but I do not  see my worksheet in the published page.  Does it take a while

[sage-support] sage www pages

2009-10-31 Thread ma...@mendelu.cz
Hello all, two download links from main page at sagemath.org point not to download page, but to download binary for windows. I think that this is not intended. Despite the fact that sage runs on Linux, it is more complicated to find Linux version than windows Robert

[sage-support] Re: publishing a worksheet

2009-10-31 Thread ma...@mendelu.cz
On 31 říj, 23:09, William Stein wst...@gmail.com wrote: On Sat, Oct 31, 2009 at 2:56 PM,  calcp...@aol.com wrote: OK, what does sharing mean then?  And how do I publish a worksheet instead? I think that sharing means, that another user can run and modify your worksheet. R.

[sage-support] Re: convertor Sage - TeX - PDF

2009-11-01 Thread ma...@mendelu.cz
On 1 lis, 13:49, Wilfried_Huss h...@finanz.math.tugraz.at wrote: On 29 Okt., 12:44, ma...@mendelu.cz ma...@mendelu.cz wrote: Hello all, the conversion into PDF has been discussed several times here. One option is to print into a PDF file. This is another possibility: I wrote

[sage-support] Re: convertor Sage - TeX - PDF

2009-11-01 Thread ma...@mendelu.cz
On 1 lis, 15:08, ma...@mendelu.cz ma...@mendelu.cz wrote: I have two another improvements (and changed the script at http://user.mendelu.cz/marik/sage/sage2tex) btw: another improvement in current http://user.mendelu.cz/marik/sage/sage2tex (from October 30) are lines lines 46-48

[sage-support] Re: partial fraction error

2009-11-03 Thread ma...@mendelu.cz
The Maxima version which is present in Sage fails for this problem, se the session below. Which version of Maxima do you use on your computer? In Sage there is version 5.19.1. Does your computation work in this version of Maxima? Robert

[sage-support] Re: partial fraction error

2009-11-03 Thread ma...@mendelu.cz
Hello Bryan If you are interested in this, compile CVS version of Maxima and look, if the CVS version has the same problem. If yes, report the problem at http://sourceforge.net/tracker/?group_id=4933atid=104933 I did similar work for inequality solver few week ago and this issue has been fixed

[sage-support] Re: partial fraction error

2009-11-03 Thread ma...@mendelu.cz
*z-7469)) Robert. On 4 lis, 07:51, ma...@mendelu.cz ma...@mendelu.cz wrote: Hello Bryan If you are interested in this, compile CVS version of Maxima and look, if the CVS version has the same problem. If yes, report the problem athttp://sourceforge.net/tracker/?group_id=4933atid=104933 I did

  1   2   3   >