Re: [sage-support] Tasks and xrefs

2021-01-11 Thread Tom Judson
Whoops!  Wrong group.  Sorry about that.

On Monday, January 11, 2021 at 2:01:56 AM UTC-6 dim...@gmail.com wrote:

> I am not sure whether this is the place you wanted to post this - the 
> context is missing (versions of what exactly are you talking about?).
>
>
> On Sun, Jan 10, 2021 at 11:19 PM Thomas Judson  wrote:
>
>> The following code is okay in the HTML version, but there is an error in 
>> the LaTeX version.
>>
>> 
>> 
>> Show that
>> \frac{dI}{dS} = -1 + \frac{1}{R_0S}.
>> Two features of this new equation are particularly worth noting.
>> 
>> The only parameter that appears is R_0, the reproduction 
>> number.
>>
>> The equation is independent of time. That is, what we learn about 
>> the relationship between S and I must be true for the entire 
>> duration of the pandemic.
>>
>> 
>> Compute d^2I/dS^2. Determine when the number of infected will 
>> begin to decrease. Compare this to your result from > ref="systems05-task-I-increasing" />.
>> 
>> 
>> Use the chain rule.
>> 
>> 
>>
>>
>>
>> I’m not sure what’s going on.
>>
>> Tom
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "sage-support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to sage-support...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sage-support/892012E3-9EF3-427A-9C02-8D84080D0751%40gmail.com
>>  
>> 
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/99b33de3-871b-4e2e-937f-4f22e40a9727n%40googlegroups.com.


Re: [sage-support] Apple M1 Chip

2020-12-17 Thread Tom Judson
Homebrew is a quick and easy install under Rosetta (the Intel emulator). 
 Python 3.8 is there, and I finally got Jupyter Notebook installed. 
 However, when JN opens I have a problem.  I gave up last night but may try 
to work on it later today. - Tom

On Wednesday, December 16, 2020 at 12:34:10 PM UTC-7 kcrisman wrote:

> On Wednesday, December 16, 2020 at 10:46:47 AM UTC-5 dim...@gmail.com 
> wrote:
>
>> On Wed, Dec 16, 2020 at 3:19 PM Thomas Judson  wrote: 
>> > 
>> > I have a new MacBook Air with an Apple M1 chip. Does the Intel version 
>> of Sage 9.2 work on this machine? 
>>
>> 9.2 is not known to work on macOS 11 (the one you have on M1), as far as 
>> I know. 
>> You might try building the latest beta in Homebrew installed into the 
>> Intel emulator. 
>> We are very curious to know how far one can go this way. 
>>
>>
> Tom, anything you can do along these lines will be fantastic - I am slated 
> to get one of those soon too, and we'll need lots of guinea pigs to help. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/569acf3a-746a-48be-8b60-e8635f03274bn%40googlegroups.com.


[sage-support] Re: Deprecation warning for a Sage interact

2019-12-22 Thread Tom Judson
Thanks.  You saved me a lot of time.

On Saturday, December 21, 2019 at 11:57:49 AM UTC-7, Nils Bruin wrote:
>
> The problem is fairly subtle, but it boils down to the fact that input_box 
> wants a *string* as default value , because a string is also what it gets 
> from the user. Note that your names x and y are bound to x(t) and y(t) 
> respectively. Input box turns its default parameter to a string, so the 
> expression 3*x-2*y turns into the string "3*x(t)-2*y(t)".
>
> Later when this is evaluated, it is evaluated in the context of the global 
> bindings that are currently in force in your sage session, so with x,y 
> being bound to x(t) and y(t) this turns into evaluating
>
> 3*x(t)(t)-2*y(t)(t)
>
> for which the deprecation warning is entirely correct.
>
> The solution is to quote your arguments to input_box as strings, i.e.,
>
> ... input_box(default = "3*x - 2*y") ...
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/7950a51e-9b11-4605-8267-940639a10937%40googlegroups.com.


Re: [sage-support] SageMath installation in macOS Catalina

2019-10-09 Thread Tom Judson
I had Sage 8.8 (the app) installed under Mojave.  I upgraded to Catalina, 
and everything seems to work fine.

Tom

On Wednesday, October 9, 2019 at 6:51:48 AM UTC-5, David Joyner wrote:
>
>
>
> On Wed, Oct 9, 2019 at 7:42 AM Dima Pasechnik  > wrote:
>
>>
>>
>> On Wed, Oct 9, 2019 at 6:34 AM David Joyner > > wrote:
>>
>>>
>>>
>>> On Wed, Oct 9, 2019 at 7:14 AM Dima Pasechnik >> > wrote:
>>>
 Hi,

 On Wed, Oct 9, 2019 at 6:03 AM George > 
 wrote:

> Hi David,
>
> Thanks for the update and information.
>
> building from source should still work.
 Did you try this ?

>>>
>>> I did. It chokes on the gfortran build:
>>>
>>> ...
>>>
>>> [gfortran-7.4.0] make[7]: *** [gets-chk.lo] Error 1
>>>
>>> [gfortran-7.4.0] make[6]: *** [all] Error 2
>>>
>>> [gfortran-7.4.0] make[5]: *** [all-target-libssp] Error 2
>>>
>>> [gfortran-7.4.0] make[4]: *** [all] Error 2
>>>
>>> [gfortran-7.4.0] 
>>> 
>>>
>>> [gfortran-7.4.0] Error building gfortran-7.4.0
>>>
>>> [gfortran-7.4.0] 
>>> 
>>>
>>>
>>>  
>>>
>> is there Homebrew for  Catalina?
>> Then one can use its gfortran.
>>
>>
> I googled around. Apparently the answer is no
> (or not as of a few days ago anyway).
>  
>
>>
>>
 Dima

> G
>
> On Wednesday, October 9, 2019 at 1:00:37 PM UTC+2, David Joyner wrote:
>>
>>
>>
>> On Wed, Oct 9, 2019 at 6:45 AM George  wrote:
>>
>>> Hi,
>>>
>>> I upgraded to the new macOS Catalina and SageMath won't install. I 
>>> get errors like "python2.7 cannot be opened because the developer 
>>> cannot be 
>>> verified" and for numerous other components as well. 
>>>
>>> Is anyone having the same problem? Any tips, advice or ideas on what 
>>> is going on and how to fix this?
>>>
>>>
>> I can confirm this issue. The problem is also discussed in the thread
>>
>> https://groups.google.com/forum/?utm_medium=email_source=footer#!msg/sage-support/4dUg8mbiDYw/u5o-U9QBCAAJ
>> That's all I know.
>>  
>>
>>> Thanks a lot,
>>> G
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "sage-support" group.
>>> To unsubscribe from this group and stop receiving emails from it, 
>>> send an email to sage-s...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/sage-support/e69a4235-ec1b-465e-98da-635ed8be1b23%40googlegroups.com
>>>  
>>> 
>>> .
>>>
>> -- 
> You received this message because you are subscribed to the Google 
> Groups "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send 
> an email to sage-s...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/1cd586e5-35af-4e39-9322-8e055c144601%40googlegroups.com
>  
> 
> .
>
 -- 
 You received this message because you are subscribed to the Google 
 Groups "sage-support" group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to sage-s...@googlegroups.com .
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/sage-support/CAAWYfq0ZBO74cNDnkb33ywH7KkGUNci%3DMxXm5Dsoq5ak-mWb9Q%40mail.gmail.com
  
 
 .

>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "sage-support" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to sage-s...@googlegroups.com .
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/sage-support/CAEQuuAWOOuPVgzgGdysYwz3oJ%3DxxV%3DNvj-ePKH__CYTe3x0p%2Bg%40mail.gmail.com
>>>  
>>> 
>>> .
>>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "sage-support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to sage-s...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sage-support/CAAWYfq2d7ibBfTaz4dQNuWjTjFA0rL0U_r1ggmXTMJiz-%2B77YQ%40mail.gmail.com
>>  
>> 

[sage-support] Re: arrows in 3d field plots

2019-01-27 Thread Tom Judson
You can adjust the arrowheads.  Look 
at http://faculty.sfasu.edu/judsontw/ode/html-20190111/firstlook03.html for 
some examples.

On Sunday, January 27, 2019 at 10:11:47 AM UTC-6, Tevian Dray wrote:
>
> Can the formatting of arrows in 3d field plots be adjusted? 
>
> I'm trying to make rotatable, 3d versions of 2d field plots. 
> I can get most of what I want with, say: 
> 
> xy=plot_vector_field3d((x,y,0),(x,-1,1),(y,-1,1),(z,-1,1),colors='black') 
> show(xy,orientation=(0,0,0,0)) 
> but I'd really like the output to look more like: 
> plot_vector_field((x,y),(x,-1,1),(y,-1,1)) 
> In other words, more obvious arrowheads.  A bigger plot would also help, 
> to allow setting plot_points to 20 -- the default for 2d. 
>
> Are the arrows and/or size (easily) configurable? 
>
> Thanks, 
> Tevian 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Re: Abstract Algebra tutorial ?

2018-07-11 Thread Tom Judson
Rob Beezer wrote some nice Sage sections for my abstract algebra textbook. 
 You ca find them at the end of each chapter.

http://abstract.ups.edu/aata/

Tom Judson

On Tuesday, July 10, 2018 at 10:18:47 PM UTC-5, Pat Browne wrote:
>
> Hi folks,
>
> Can anyone recommend a good tutorial for using sage Permutations and 
> groups? I am a complete newbie and haven't been able to figure out how to 
> do things with symmetry or permutation multiplications. I'm pretty sure 
> that sage would be a great help in understanding these things.
>
> thanks in advance
> Pat Browne
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Re: Linking Sage cells in a wiki

2017-07-19 Thread Tom Judson
Actually, the problem is not this specific computation but being able to 
link Sage cells in a wiki in general.  However, the following works.


[[html]]
https://sagecell.sagemath.org/static/embedded_sagecell.js&quot</a>;>
sagecell.makeSagecell({"inputLocation": ".sage", linked: 
true});


Z8 = Integers(8)
Z8


this is some text



Z8.list()




a = Z8.an_element(); a




a.parent()


[[/html]]

On Monday, July 17, 2017 at 2:04:38 PM UTC+2, Tom Judson wrote:
>
> I am trying to link two Sage cells in a wikidot webpage.  The following 
> code successfully executes
>
> [[html]]
> https://sagecell.sagemath.org/static/embedded_sagecell.js</a>
> ">
> sagecell.makeSagecell({"inputLocation": ".sage"});
> 
>   
> a = 10
> Z8 = Integers(8)
> Z8
> 
> [[/html]]
>
> I would like to add a second linked cell that executes the command
>
> Z8.list()
>
> If possible, I would like to include text between the cells.
>
> So far I haven’t had any luck.  Any ideas would be appreciated.
>
> Tom Judson
>
> =
> Thomas W. Judson, Associate Professor
> Department of Mathematics and Statistics
> Stephen F. Austin State University
> P.O. Box 13040-3040 SFA Station
> Nacogdoches, TX  75962
>
> OFFICE: 316 Math
> TEL: (936) 468-1704
> EMAIL: judso...@sfasu.edu
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Re: R and Sage Cells

2016-06-08 Thread Tom Judson
If I go to https://sagecell.sagemath.org and use the pull down menu on the 
right to set the language to R, everything works.  If I try %r, then I 
don't get the desired output.

On Tuesday, June 7, 2016 at 3:36:22 PM UTC-5, Tom Judson wrote:
>
> Does anyone have any experience using R in a Sage cell?  The following 
> code works fine on SMC but not on the Sage cell server. 
>
> %r 
> age <- c(25, 30, 56) 
> gender <- c("male", "female", "male") 
> weight <- c(160, 110, 220) 
> mydata <- data.frame(age,gender,weight) 
> summary(mydata) 
> cor(mydata$age,mydata$weight) 
> mean(mydata$age) 
>         sd(mydata$age) 
> plot(mydata$age,mydata$weight)]]> 
>
> Tom Judson

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Sage on Mac OS X 10.11

2015-10-06 Thread Tom Judson
Yes, I caught that one and fixed it, but it didn't help with Sage directly.

On Tuesday, October 6, 2015 at 10:58:01 AM UTC-5, projetmbc wrote:
>
> Hello.
>
> The developers of MacTeX hasard indiçâtes in the last days that the folder 
> usr is not longer usable by applications.
>
> Maybe this can help in fixing problems. 
> Le 6 oct. 2015 17:33, "Thomas Judson" <twju...@gmail.com > a 
> écrit :
>
>> Has anyone been able to get Sage running on El Capitan?  The app for Sage 
>> 6.8 doesn’t work.  I downloaded sage-6.9.rc2 and tried to build everything 
>> from the source code.  After installing the latest version of Xcode and 
>> MacPorts, I was able to get the build underway.  However, everything 
>> crashed when I tried to run Sage.  I tried to start over, but I get the 
>> same error as if I had never installed the new version of MacPorts.
>>
>> Tom Judson
>>
>>
>> =
>> Thomas W. Judson, Associate Professor
>> Department of Mathematics and Statistics
>> Stephen F. Austin State University
>> P.O. Box 13040-3040 SFA Station
>> Nacogdoches, TX  75962
>>
>> OFFICE: 316 Math
>> TEL: (936) 468-1704
>> EMAIL: juds...@sfasu.edu 
>>
>>
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "sage-support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to sage-support...@googlegroups.com .
>> To post to this group, send email to sage-s...@googlegroups.com 
>> .
>> Visit this group at http://groups.google.com/group/sage-support.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] sagetex question

2012-03-30 Thread Tom Judson
I have a question about sagetex.  Is it possible to run sagetex if you are 
using a remote server as opposed to a local copy of sage.  I run sagetex 
locally on my Mac, but I have a graduate student who would like to use 
sagetex on a PC.  She is currently doing all of her Sage computations on a 
server.  Does anyone have experience with this?

Tom Judson

-- 
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.google.com/group/sage-support
URL: http://www.sagemath.org


[sage-support] Simplifying log expressions

2012-01-12 Thread Tom Judson
I would like to simplify the difference of two log expressions to show
that I get a constant, but

simplify((1/2)*log(2*t) - (1/2)*log(t))

just returns the expression.  Does anyone know of an easy fix for
this?  Preferably, I would like something that Calculus II students
could easily use.

Tom Judson

-- 
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.google.com/group/sage-support
URL: http://www.sagemath.org


[sage-support] Graphical Tools for Ordinary Differential Equations.

2012-01-12 Thread Tom Judson
Has anyone written any graphical tools such as ODE Toolkit, dfield, or
pplane (http://www.codee.org/software) for analyzing solutions to
differential equations?

Tom Judson

-- 
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.google.com/group/sage-support
URL: http://www.sagemath.org


[sage-support] Sage Notebook Problems

2011-04-20 Thread Tom Judson
I am getting the following error when I try to load the notebook.  It
just happened out of nowhere.  I reinstalled Sage (different
versions) with no luck.  This only happens on my iMac.  Sage runs fine
on my MacBook.  Can I just delete the notebook and start over?  If so,
how do I do that?

Tom

 Sage Version 4.6.2, Release Date: 2011-02-25   |
| Type notebook() for the GUI, and license() for information.|
--
sage: notebook()
---
EOFError  Traceback (most recent call
last)

/Users/twjudson/.sage/ipython console in module()

/Applications/Sage-4.6.2-OSX-32bit-10.5.app/Contents/Resources/sage/
devel/sagenb/sagenb/notebook/notebook_object.pyc in __call__(self,
*args, **kwds)
215 
216 def __call__(self, *args, **kwds):
-- 217 return self.notebook(*args, **kwds)
218
219 notebook = run_notebook.notebook_twisted

/Applications/Sage-4.6.2-OSX-32bit-10.5.app/Contents/Resources/sage/
devel/sagenb/sagenb/notebook/run_notebook.pyc in
notebook_twisted(self, directory, port, interface, address,
port_tries, secure, reset, accounts, require_login, server_pool,
ulimit, timeout, open_viewer, sagetex_path, start_path, fork, quiet,
subnets)
172 print '*'*70
173
-- 174 nb = notebook.load_notebook(directory)
175
176 directory = nb._dir

/Applications/Sage-4.6.2-OSX-32bit-10.5.app/Contents/Resources/sage/
devel/sagenb/sagenb/notebook/notebook.pyc in load_notebook(dir,
interface, port, secure)
   1704
   1705 dir = make_path_relative(dir)
- 1706 nb = Notebook(dir)
   1707 nb.interface = interface
   1708 nb.port = port

/Applications/Sage-4.6.2-OSX-32bit-10.5.app/Contents/Resources/sage/
devel/sagenb/sagenb/notebook/notebook.pyc in __init__(self, dir)
 93 # Set the list of users
 94 try:
--- 95 self.__users = S.load_users()
 96 except IOError:
 97 self.__users = {}

/Applications/Sage-4.6.2-OSX-32bit-10.5.app/Contents/Resources/sage/
devel/sagenb/sagenb/storage/filesystem_storage.pyc in load_users(self)
211 {'admin': admin, 'wstein': wstein}
212 
-- 213 return
self._basic_to_users(self._load('users.pickle'))
214
215 def save_users(self, users):

/Applications/Sage-4.6.2-OSX-32bit-10.5.app/Contents/Resources/sage/
devel/sagenb/sagenb/storage/filesystem_storage.pyc in _load(self,
filename)
132
#
133 def _load(self, filename):
-- 134 return cPickle.load(open(self._abspath(filename)))
135
136 def _save(self, obj, filename, ):

EOFError:

-- 
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.google.com/group/sage-support
URL: http://www.sagemath.org