[sage-support] Re: tour_algebra "Solving Differential Equations" 1st example output: x(t) instead of: (c + e^t)*e^(-t)

2009-11-11 Thread ma...@mendelu.cz
On 11 lis, 07:31, YarDYar wrote: > Code: > t = var('t') > x = function('x',t) > DE = diff(x, t) + x -1 > desolve(DE, [x,t]) > print x > print DE Hi, but you have different input than at http://www.sagemath.org/doc/tutorial/tour_algebra.html#solving-differential-equations Sou you get different

[sage-support] Re: plotting a matrix with pixels corresponding to entries

2009-11-11 Thread Jason Grout
Robert Bradshaw wrote: > On Nov 10, 2009, at 11:25 PM, Jonathan Bober wrote: > >> Does anyone know how to plot a matrix so that each pixel in the output >> picture corresponds precisely to an entry in the matrix? >> >> To see the problem that I have, you might see the odd results that >> occur

[sage-support] partially evaluate expression

2009-11-11 Thread zeliboba
let's say I have var('Re') f = 0.25 / (log(5.74 / Re^0.9, 10))^2 / 4 I'd like to expand/evaluate all numerical constants and see dependency on Re like f = c1 / log(Re^c2) how to reach this? --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@goo

[sage-support] Re: partially evaluate expression

2009-11-11 Thread ma...@mendelu.cz
On 11 lis, 11:16, zeliboba wrote: > let's say I have > var('Re') > f = 0.25 / (log(5.74 / Re^0.9, 10))^2 / 4 > I'd like to expand/evaluate all numerical constants and see dependency > on Re like > f = c1 / log(Re^c2) There is no chance to get answer like this from your input if c1 and c2 are c

[sage-support] Re: partially evaluate expression

2009-11-11 Thread ma...@mendelu.cz
On 11 lis, 11:45, "ma...@mendelu.cz" wrote: > > I am thinking to add suppport for expansion of logarithms and perhaps > evaluation this to Maxima, as well as improve support for rational > expressions (not only fullratsimp but also ratsimp and xthru). Oops, to Sage, not to Maxima, of course :)

[sage-support] Re: partially evaluate expression

2009-11-11 Thread Burcin Erocal
Hi Robert, On Wed, 11 Nov 2009 02:45:11 -0800 (PST) "ma...@mendelu.cz" wrote: > So my question for developers and experienced users os Sage is: Is > there a function which converts input like f = 0.25 / (log(5.74 / > Re^0.9, 10))^2 / 4 into 0.331368631905/log(5.74/Re^0.9)^2 in a similar > way a

[sage-support] Re: Help in Finite Fields using FFLAS-FFPACK

2009-11-11 Thread Martin Albrecht
On Wednesday 11 November 2009, Christian wrote: > Thankx for your quick response!!! > > I wish I could help, I'm weak in programming... specially in c++, but > I'm trying to learn as fast as possible (~10 years according to Peter > Norvig)... > Anyway I will try a little bit. Well, you don't nee

[sage-support] Re: Sage upgrade

2009-11-11 Thread Mikie
Marshall, It 8 hours to do the initial install from the source. I would like to evade this. Mikie On Nov 10, 2:54 pm, Marshall Hampton wrote: > do: > > sage -upgrade > > from a shell and after downloading some information you will have to > respond "Y" to whether you want to continue.  If sage

[sage-support] Re: Sage upgrade

2009-11-11 Thread wolmid
Hi, perhaps the following is helpful: Quoting from the FAQs at http://wiki.sagemath.org/faq#Otherquestions : QUESTION: I downloaded a Sage binary and it crashes on startup with Illegal instruction. What can I do? ANSWER: Short answer: One way to fix this is to build Sage entirely from source. A

[sage-support] Laplace solve:

2009-11-11 Thread Jaasiel Ornelas
I can't get desolve_laplace to give me a good output. I had already tried the regular solve (desolve) and it gave to told me that it cannot solve that equation. This is my code: sage: (g,t) = var('g,t') sage: y=function('y',t) sage: DEiii = pi * (39/100*y + 1/2)^2* diff(y,t) + a * sqrt(2*g*y)

[sage-support] Re: Laplace solve:

2009-11-11 Thread kcrisman
> sage: desolve_laplace(DEiii, ["t","y"], [0,50,0]) > "?%ilt(-(1521*'laplace('y(t)^2*'diff('y(t),t,1),t,false)+3900*'laplace > ('y(t)*'diff('y(t),t,1),t,false)+2500*sqrt(2)*'laplace(sqrt(g*'y > (t)),t,false)-125000)/(2500*false),false,t)" > Looks like yet another Maxima expression we'll need to b

[sage-support] Re: TinyMCE jsmath issue?

2009-11-11 Thread kcrisman
> We recently fixed code cell outputs > to have horizontal scrollbars if needed.  We could easily make text > cells have horizontal scrollbars if needed by adding something like the > following to the CSS: > > .text_cell { >    overflow-x:auto; > > } Would this fix the problem that it shouldn't b

[sage-support] Re: %hide conflicting with @interact?

2009-11-11 Thread kcrisman
This is now #7431. - kcrisman --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.goo

[sage-support] Re: Laplace solve:

2009-11-11 Thread Martin Rubey
kcrisman writes: > Of course, it would be worth seeing whether one of the other CASs can > solve this one exactly. possibly FriCAS can, it seems: (2) -> DEiii := %pi * (39/100*y t+ 1/2)^2* D(y t,t) + a * sqrt(2*g*y t) 2 , +---+

[sage-support] Re: Laplace solve:

2009-11-11 Thread David Joyner
On Wed, Nov 11, 2009 at 1:19 PM, Jaasiel Ornelas wrote: > > I can't get desolve_laplace to give me a good output. I had already > tried the regular solve (desolve) and it gave to told me that it > cannot solve that equation.  This is my code: > > sage: (g,t) = var('g,t') > > sage: y=function('y',

[sage-support] Re: Laplace solve:

2009-11-11 Thread Jaasiel Ornelas
I'm using: Sage Version 4.1.1, Release Date: 2009-08-14 We just started laplace in my class, so I did not know that laplace transforms don't solve non linear ode's. Sorry :p On Nov 11, 12:01 pm, David Joyner wrote: > On Wed, Nov 11, 2009 at 1:19 PM, Jaasiel Ornelas wrote: > > > I can't get de

[sage-support] Re: Laplace solve:

2009-11-11 Thread David Joyner
On Wed, Nov 11, 2009 at 3:10 PM, Jaasiel Ornelas wrote: > > I'm using: > > Sage Version 4.1.1, Release Date: 2009-08-14 Okay. The above was done with Sage 4.2, so may or may not work in your version. > > We just started laplace in my class, so I did not know that laplace > transforms don't so

[sage-support] trig axis labels

2009-11-11 Thread Dan Aldrich
Is there a way to label x-axis in terms of pi, say like pi/2, pi, 3pi/2? Thanks, -d --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com

[sage-support] Re: Laplace solve:

2009-11-11 Thread ma...@mendelu.cz
As you pointed out, the equation has separated variables, so it must work allmost in any version Perhaps problems with keepfloat:true. Is you replace 0.5 by 1/2, everything works. See below Robert [ma...@um-bc107 /opt/sage]$ ./sage ---

[sage-support] Re: Laplace solve:

2009-11-11 Thread Jaasiel Ornelas
Ok. I'm downloading 4.2 to see what happens, otherwise, I'll just do it by hand. On Nov 11, 12:13 pm, David Joyner wrote: > On Wed, Nov 11, 2009 at 3:10 PM, Jaasiel Ornelas wrote: > > > I'm using: > > > Sage Version 4.1.1, Release Date: 2009-08-14 > > Okay. The above was done with Sage 4.2, so

[sage-support] Re: Laplace solve:

2009-11-11 Thread ma...@mendelu.cz
On 11 lis, 21:53, Jaasiel Ornelas wrote: > Ok. I'm downloading 4.2 to see what happens, otherwise, I'll just do > it by hand. Dous not help, Sage 4.2 cannot solve your equation if you use 0.5 and not 1/2 Change number 0.5 into 1/2 or use Maxima. Robert --~--~-~--~~~-

[sage-support] Re: Laplace solve:

2009-11-11 Thread ma...@mendelu.cz
On 11 lis, 21:10, Jaasiel Ornelas wrote: > I'm using: > > Sage Version 4.1.1, Release Date: 2009-08-14 > > We just started laplace in my class, so I did not know that laplace > transforms don't solve non linear ode's. Sorry :p > Are you student? If you put your equation (with a written as (1/2

[sage-support] Re: Laplace solve:

2009-11-11 Thread Jaasiel Ornelas
You sir... Are... a genius. On Nov 11, 12:13 pm, David Joyner wrote: > On Wed, Nov 11, 2009 at 3:10 PM, Jaasiel Ornelas wrote: > > > I'm using: > > > Sage Version 4.1.1, Release Date: 2009-08-14 > > Okay. The above was done with Sage 4.2, so may or may not work in your > version. > > > > > W

[sage-support] Re: "default" linux binary (64 bit)

2009-11-11 Thread finotti
Hi, Thanks William for the reply. > There's a 32-bit debian binary here: > >  http://sage.math.washington.edu/home/wstein/binaries/old-4.2/ I've downloaded a binary from UTK (for my 32-bit laptop) compiled for Debian Lenny. At start it says version 4.1.2... I don't know if it is just the disp

[sage-support] Re: TinyMCE jsmath issue?

2009-11-11 Thread Jason Grout
kcrisman wrote: >> We recently fixed code cell outputs >> to have horizontal scrollbars if needed. We could easily make text >> cells have horizontal scrollbars if needed by adding something like the >> following to the CSS: >> >> .text_cell { >>overflow-x:auto; >> >> } > > Would this fix t

[sage-support] Re: compiling sage 4.2 fom source on ubuntu karmic 9.10

2009-11-11 Thread Greg Marks
Dear SAGE developers, I too had a few errors building SAGE from source in Ubuntu 9.10. I do seem to have a working installation now, so maybe the errors are harmless. I've posted my install.log file here: http://gmarks.co.cc/install.log (with some slight editing done for security reasons; i

[sage-support] Custmomizing code and "sage -b" with notebook running

2009-11-11 Thread ma...@mendelu.cz
Dear sage-support When changing the code, running ./sage -b and testing the things in notebook in Firefox I tried to keep ./sage -notebok running, I changed some code in another window and compiled with ./sage -b. Switching back to notebook, something hang and notebook did not work as expected. S

[sage-support] Re: Custmomizing code and "sage -b" with notebook running

2009-11-11 Thread William Stein
On Wed, Nov 11, 2009 at 2:19 PM, ma...@mendelu.cz wrote: > > Dear sage-support > > When changing the code, running ./sage -b and testing the things in > notebook in Firefox I tried to keep ./sage -notebok running, I changed > some code in another window and compiled with ./sage -b. Switching > ba

[sage-support] Re: trig axis labels

2009-11-11 Thread Jason Grout
Dan Aldrich wrote: > Is there a way to label x-axis in terms of pi, say like pi/2, pi, 3pi/2? > I don't think there is a nice, easy, builtin way. Yet. I see two elegant solutions (now talking with people who are or want to be familiar with the matplotlib code that goes on behind the scenes):

[sage-support] Re: TinyMCE jsmath issue?

2009-11-11 Thread kcrisman
> > Would this fix the problem that it shouldn't be overflowing in the > > first place (look at this specific example, where the formula should > > just be going to the next line), or is that a jsmath issue? > > Jsmath doesn't wrap across a linebreak, so yes, I think that's a jsmath > issue. Sor

[sage-support] Re: trig axis labels

2009-11-11 Thread kcrisman
> 1. Make show also take in an x coordinate length, plus a formatting > function.  Then use a MultipleLocator matplotlib locator and a formatter > to get the axes ticks. > > 2. Make show take a matplotlib formatter and matplotlib locator.  Then a > user could construct their own formatters/locator

[sage-support] Re: Custmomizing code and "sage -b" with notebook running

2009-11-11 Thread ma...@mendelu.cz
> > No.  Just click "Action --> Restart worksheet" (possibly twice) and > you'll get the new version of Sage.   There is no need to ever restart > the notebook server unless you're doing development on the notebook > server itself. Works fine, thanks Robert > >  -- william --~--~-~--~

[sage-support] Re: trig axis labels

2009-11-11 Thread Jason Grout
kcrisman wrote: >> 1. Make show also take in an x coordinate length, plus a formatting >> function. Then use a MultipleLocator matplotlib locator and a formatter >> to get the axes ticks. >> >> 2. Make show take a matplotlib formatter and matplotlib locator. Then a >> user could construct their

[sage-support] Re: Help in Finite Fields using FFLAS-FFPACK

2009-11-11 Thread Christian
> Well, you don't need to master C++, for wrapping a C++ library we use Cython > which is a much smaller and easier language. Have a look at > http://www.cython.org > Note that Burcin worked on wrapping FFLAS-FFPACK > directly before (I am pinging him explicitly, so he knows about this threat) O

[sage-support] Need help in starting a sage server

2009-11-11 Thread Kwankyu
Hi, I have a problem starting a sage server after, I think, upgrading to Ubuntu 9.10 server edition. It just hangs at the point "Generating a 2048 bit RSA private key..." See the following transcript: s...@ubuntu:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:

[sage-support] Re: Need help in starting a sage server

2009-11-11 Thread William Stein
On Wed, Nov 11, 2009 at 6:22 PM, Kwankyu wrote: > > Hi, > > I have a problem starting a sage server after, I think, upgrading to > Ubuntu 9.10 server edition. It just hangs at the point "Generating a > 2048 bit RSA private key..." See the following transcript: > > s...@ubuntu:~$ lsb_release -a >

[sage-support] Re: Need help in starting a sage server

2009-11-11 Thread Thierry Dumont
William Stein a écrit : > On Wed, Nov 11, 2009 at 6:22 PM, Kwankyu wrote: >> Hi, >> >> I have a problem starting a sage server after, I think, upgrading to >> Ubuntu 9.10 server edition. It just hangs at the point "Generating a >> 2048 bit RSA private key..." See the following transcript: >> >> >

[sage-support] Continued fractions ?

2009-11-11 Thread Nathann Cohen
Hello !!! I have a pretty easy simplification problem When I have a looong fraction, something like : 1 / ( 1 - 1/ ( 1- 1/ a )) How can I ask sage to rewrite i as rational value ? I would like something like : 1 / ( 1 - 1/a ) to give me a / (a-1), and a similar behaviour for longer fraction

[sage-support] Re: Need help in starting a sage server

2009-11-11 Thread Jason Grout
Thierry Dumont wrote: > William Stein a écrit : >> On Wed, Nov 11, 2009 at 6:22 PM, Kwankyu wrote: >>> Hi, >>> >>> I have a problem starting a sage server after, I think, upgrading to >>> Ubuntu 9.10 server edition. It just hangs at the point "Generating a >>> 2048 bit RSA private key..." See the

[sage-support] Re: Continued fractions ?

2009-11-11 Thread Mike Hansen
Hello, On Thu, Nov 12, 2009 at 2:40 PM, Nathann Cohen wrote: > Hello !!! > > I have a pretty easy simplification problem When I have a looong > fraction, something like : > > 1 / ( 1 - 1/ ( 1- 1/ a )) > > How can I ask sage to rewrite i as rational value ? sage: a = var('a') sage: f = 1 / (

[sage-support] Re: Need help in starting a sage server

2009-11-11 Thread Kwankyu
Hi, Perhaps I didn't wait for long enough time. :-) I pushed ctl-c in frustration. Anyway if I directly input the exactly same certool command on the command line on the same machine, it immediately returned. This is curious... Kwankyu --~--~-~--~~~---~--~~ To p