Re: [sage-support] Problem with load in sagemath 9.0 on ubuntu 20.04

2020-10-20 Thread Carl Eberhart
Oh. Durn. Thought I had corrected those. Thanks On Tuesday, October 20, 2020 at 2:02:35 PM UTC-5 Carl Eberhart wrote: > Thanks, but the sage file I am trying to load is one I have loaded many > times before on the cloud and also on a local installation of Sagemath > 8.6. It l

Re: [sage-support] Problem with load in sagemath 9.0 on ubuntu 20.04

2020-10-20 Thread Carl Eberhart
12:41:00 PM UTC-5 dim...@gmail.com wrote: > On Mon, Oct 19, 2020 at 6:36 PM Carl Eberhart wrote: > > > > I can't load a sage file in either the notebook or terminal version of > Sage > > Here is my last (of many) attempts. > > sage: load("/home/carl/N

[sage-support] Re: Problem with load in sagemath 9.0 on ubuntu 20.04

2020-10-20 Thread Carl Eberhart
:05 AM UTC-7, Carl Eberhart wrote: > >> I can't load a sage file in either the notebook or terminal version of >> Sage >> > File "", line 121 >> if s<>_sage_const_0 : >> ^ >> SyntaxError: invalid syntax >> >

[sage-support] Problems installing Sagemath 9.0

2020-10-20 Thread Carl Eberhart
I am running Ubuntu Mate 20.04 on a raspberry pi 4, and have installed Sagemath 9.0 using the Synaptic package manager. I can open a python3 notebook, but the sagemath 9.0 kernel refuses to start. Can someone make a suggestion? Here is a transcript of my last attempt. ## I have installed

[sage-support] Problem with load in sagemath 9.0 on ubuntu 20.04

2020-10-19 Thread Carl Eberhart
I can't load a sage file in either the notebook or terminal version of Sage Here is my last (of many) attempts. sage: load("/home/carl/Notebooks/quadrisection/orthogtraps19.sage") Traceback (most recent call last): File

[sage-support] Re: differentiation of combinations of functions of t, some of which are unknown

2019-08-29 Thread Carl Eberhart
On Thursday, August 29, 2019 at 2:18:30 PM UTC-5, Carl Eberhart wrote: > > derivative treats all parameters in the definition of a function as > constant. Suppose some of them are themselves unknown functions of the > variable. > I would like a procedure Derivative which

[sage-support] differentiation of combinations of functions of t, some of which are unknown

2019-08-29 Thread Carl Eberhart
derivative treats all parameters in the definition of a function as constant. Suppose some of them are themselves unknown functions of the variable. I would like a procedure Derivative which accepts a list of these parameters and returns an appropriate expression. For example, if

[sage-support] Re: Function defined with matrices won't plug in values for function

2018-12-01 Thread Carl Eberhart
On Friday, November 30, 2018 at 3:59:40 PM UTC-6, saad khalid wrote: > > Hi all, > > I'm not sure what is happening, but I defined some matrices: > Mz = matrix([[0,1],[1,0]]) > Mx = matrix([[1,0],[0,-1]]) > > M1 = matrix([[1,0],[0,1]]) > > And then I tried defining a function where I

[sage-support] Re: Sage or Mathemathica. Which one is correct?

2016-04-21 Thread Carl Eberhart
Try checking the value at zero. On Thursday, April 21, 2016 at 12:15:51 PM UTC-5, Rui Paulo wrote: > > In my Phd thesis, I'm having some trouble to calculating some tricky > integrals, Sage and Mathematica show different results. To understand what > goes I have calculated a simple integral. >

Re: [sage-support] Re: Global variables called in a function

2015-12-21 Thread Carl Eberhart
('t') StillThanks. > SR.var does the trick for me inside of procedures. var doesn't > > Vincent > > On 21/12/15 14:35, Carl Eberhart wrote: Thanks. > SR.var does the trick for me inside of procedures. var doesn't > > Ah. Thanks very much for that clarification. > &

Re: [sage-support] Re: Global variables called in a function

2015-12-21 Thread Carl Eberhart
('t') StillThanks. > SR.var does the trick for me inside of procedures. var doesn't > > Vincent > > On 21/12/15 14:35, Carl Eberhart wrote: Thanks. > SR.var does the trick for me inside of procedures. var doesn't > > Ah. Thanks very much for that clarification. > &

Re: [sage-support] Re: Global variables called in a function

2015-12-21 Thread Carl Eberhart
I admit I don't understand what is happening in the following snippit: def f(): t=var('t') t=5 a=2*t return a t=3;t;f();t 3 10 t This was executed in a sagews cell I think that the t which is referenced in f should be a local variable. However the value of t outside of f is

Re: [sage-support] Re: Global variables called in a function

2015-12-21 Thread Carl Eberhart
var, but now I know when to use SR.var instead Carl On Mon, Dec 21, 2015 at 9:49 AM, Jeroen Demeyer <jdeme...@cage.ugent.be> wrote: > On 2015-12-21 16:38, Carl Eberhart wrote: > >> I admit I don't understand what is happening in the following snippit: >> >> def f():

[sage-support] sage notebook warning to rebuild with libgmp >= 5

2015-10-31 Thread Carl Eberhart
I get this warning when I start a sage notebook-- *InsecureWarning: Not using mpz_powm_sec. You should rebuild using libgmp >= 5 to avoid timing attack vulnerability.*Haven't used a sage notebook for awhile, but seem to recall that I should ignore this warning. Is this correct? If not, how

[sage-support] Re: plotting boxes

2013-09-16 Thread Carl Eberhart
thanks. i'll try it. On Sunday, September 15, 2013 2:20:45 PM UTC-5, Nils Bruin wrote: On Sunday, September 15, 2013 12:12:39 PM UTC-7, Carl Eberhart wrote: I would like to restrict a 3d plot to a certain box in space, say (x,0,1) (y,0,1),(z,.5,1.5) This would be useful in many

[sage-support] plotting boxes

2013-09-15 Thread Carl Eberhart
I would like to restrict a 3d plot to a certain box in space, say (x,0,1) (y,0,1),(z,.5,1.5) This would be useful in many situations, say when you want to inspect the part of a graph of z=f(x,y) where z is between a and b. It doesn't appear that is possible. Is there an option I am missing?

Re: [sage-support] Digest for sage-support@googlegroups.com - 5 Messages in 3 Topics

2013-07-17 Thread Carl Eberhart
Hi Nathann Here is a Wikipedia article with what looks very much like the python code for a solution. http://en.wikipedia.org/wiki/Longest_common_subsequence_problem Carl On Wed, Jul 17, 2013 at 12:11 PM, sage-support@googlegroups.com wrote: Today's Topic Summary Group:

Re: [sage-support] Re: printing the string html

2011-12-21 Thread Carl Eberhart
That's weird. I can't get it to print. It's there, because it's in a string that I write to a file. I was just checking to see that the string looked right before I wrote it. This behaviour occurs for me in the notebooks at sagenb.org and localhost:8000 Carl On Wed, Dec 21, 2011 at 3:10 AM,

Re: [sage-support] Re: printing the string html

2011-12-21 Thread Carl Eberhart
So I see. Thanks. On Wed, Dec 21, 2011 at 10:31 AM, John H Palmieri jhpalmier...@gmail.comwrote: On Tuesday, December 20, 2011 9:24:08 PM UTC-8, Carl Eberhart wrote: Are there any other html tags that don't print in sage worksheet? Thanks. It's not that html doesn't print: instead

[sage-support] printing the string html

2011-12-20 Thread Carl Eberhart
Are there any other html tags that don't print in sage worksheet? Thanks. -- 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

[sage-support] Re: Sage account cracked?

2011-12-19 Thread Carl Eberhart
On Dec 19, 4:00 pm, Jason Grout jason-s...@creativetrax.com wrote: On 12/19/11 3:41 PM, andres.ordonez wrote: Hi, I signed in today at 'Try Sage Online' and the first notebook was called 'Sagemath owned', the field 'Owner, collaborations' was 'mathfux99 / *Mayra7*, 000Devin, 01sharpka,

[sage-support] installing ImageMagic

2011-12-18 Thread Carl Eberhart
Hello, Using sage4.7.2 in VirtualBox on windows xp. Is there a way to install ImageMagic so that I can make and look at animated plots? Thanks Carl -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to

[sage-support] Re: installing ImageMagic

2011-12-18 Thread Carl Eberhart
o good that works. what about installing tex? I notice there is a texmf directory already On Dec 18, 1:10 pm, Volker Braun vbraun.n...@gmail.com wrote: sudo yum install ImageMagick And no there is no typo ;-) -- To post to this group, send email to sage-support@googlegroups.com To

[sage-support] Re: installing ImageMagic

2011-12-18 Thread Carl Eberhart
On Dec 18, 3:06 pm, Volker Braun vbraun.n...@gmail.com wrote: There is a subdirectory in the Sage tree where SageTeX lives, apart from that there is no texmf directory. You can install tex latex with sudo yum install texlive-latex My mistake. Just thought I saw it. Thanks. I'm afraid I may

[sage-support] Re: installing ImageMagic

2011-12-18 Thread Carl Eberhart
df tells me that /home is 51% used with 2926476 (1-k blocks) free and /media is 86% used with 8003960 (1-k blocks) free On VirtualBox the Sata Controller Sage4.7.2-disk1.vmdk showing virtual size 7.81Gig and actual size 3.83gig What would happen if I tried the yum and there wasn't enough space?

[sage-support] How to open a second terminal on fedora

2011-12-17 Thread Carl Eberhart
I am using sage4.7.2 in VirtualBox on windows xp. I would like to have a second fedora terminal open while the notebook server is running. Can this be done? Thanks. Carl -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to

Re: [sage-support] How to open a second terminal on fedora

2011-12-17 Thread Carl Eberhart
Good. I will use that one, although it is nice to also know the su password. The alt-F2 escape provides me with a way to work in the one window, without killing the notebook Thanks. On Sat, Dec 17, 2011 at 6:29 PM, Renan Birck Pinheiro renan.ee.u...@gmail.com wrote: 2011/12/17 Volker Braun

Re: [sage-support] Power series expansion

2011-12-02 Thread Carl Eberhart
Hi Julie, I'm new here, but if I understood your question, something like works to give the power series expansion of a nice function f about x=a def taylor(f,a,n): tay=f(a) g = diff(f(x),x) for i in range(1,n): tay=tay+g(a)/factorial(i)*(x-a)^i return tay #now get the

Re: [sage-support] Power series expansion

2011-12-02 Thread Carl Eberhart
Oops! I left out a line. Sorry def taylor(f,a,n): tay=f(a) g = diff(f(x),x) for i in range(1,n): tay=tay+g(a)/factorial(i)*(x-a)^i g = diff(g(x),x) return tay y=var('y') taylor((.324)^x,0,4)(x=y) Carl On Fri, Dec 2, 2011 at 7:24 AM, Julie