[sage-edu] Re: www.sagenb.org

2009-01-17 Thread calcpage
BTW, if www.sagenb.org runs on a single PC with a quadcore, the question still remains, is Sage multicore aware without dSage or are you using dSage here? TIA, A. Jorge Garcia calcp...@aol.com http://calcpage.tripod.com Teacher & Professor Applied Mathematics, Physics & Computer Science Baldwi

[sage-edu] Sage 3.2.3 32bit or 64bit? That is the question....

2009-01-17 Thread A. Jorge Garcia
OK, I have a new lab with 25 dualcore 2GHz 64bit AMD Athlons. However, I only have a 32bit OS installed (Knoppix DVD which is like debian with lots of apps including R and Octave). Question 1: With that setup, I should install the 32bit Sage tarball, right? Question 2: Also, will I benefit from

[sage-edu] Re: Sage 3.2.3 32bit or 64bit? That is the question....

2009-01-17 Thread jason-sage
A. Jorge Garcia wrote: > OK, I have a new lab with 25 dualcore 2GHz 64bit AMD Athlons. > However, I only have a 32bit OS installed (Knoppix DVD which is like > debian with lots of apps including R and Octave). > > Question 1: > With that setup, I should install the 32bit Sage tarball, right? > > Q

[sage-edu] learning python

2009-01-17 Thread A. Jorge Garcia
I'm really liking this Sage environment. So, I suppose its time to learn some python. I tried the following code: for p in range(2,10) if is_prime(2^p-1) print p, 2^p-1 and got the error: Syntax Error: if is_prime(2^p-1) what am I missing? TIA, A. Jorge Garcia calcp...@a

[sage-edu] Re: learning python

2009-01-17 Thread John H Palmieri
On Jan 17, 9:00 am, "A. Jorge Garcia" wrote: > I'm really liking this Sage environment.  So, I suppose its time to > learn some python.  I tried the following code: > > for p in range(2,10) >     if is_prime(2^p-1) >         print p, 2^p-1 > > and got the error: > > Syntax Error: >         if i

[sage-edu] Re: learning python

2009-01-17 Thread Fabio Tonti
You forgot the colon at the end of the for/if header. This works: for p in range(2,10): if is_prime(2^p-1): print p, 2^p-1 Fabio On Sat, Jan 17, 2009 at 6:00 PM, A. Jorge Garcia wrote: > > I'm really liking this Sage environment. So, I suppose its time to > learn some python. I tried t

[sage-edu] Re: learning python

2009-01-17 Thread calcpage
OOPS, I just added those colons and all is fine! Thanx, A. Jorge Garcia calcp...@aol.com http://calcpage.tripod.com Teacher & Professor Applied Mathematics, Physics & Computer Science Baldwin Senior High School & Nassau Community College --~--~-~--~~~---~--~~ You

[sage-edu] Re: learning python

2009-01-17 Thread Jim Clark
On Jan 17, 2009, at 9:00 AM, A. Jorge Garcia wrote: > I'm really liking this Sage environment. So, I suppose its time to > learn some python. I tried the following code: > > for p in range(2,10) > if is_prime(2^p-1) > print p, 2^p-1 > > and got the error: > > Syntax Error: >

[sage-edu] Re: learning python

2009-01-17 Thread jason-sage
calcp...@aol.com wrote: > OOPS, I just added those colons and all is fine! > You posted a question on a Saturday of what is a holiday weekend here in the U.S. There were three answers in half an hour. Wow, good job guys. That's fantastic help! Jason --~--~-~--~~

[sage-edu] Re: www.sagenb.org

2009-01-17 Thread Robert Bradshaw
On Jan 17, 2009, at 5:51 AM, calcp...@aol.com wrote: > BTW, if www.sagenb.org runs on a single PC with a quadcore, the > question still remains, is Sage multicore aware without dSage or are > you using dSage here? Some of the underlaying components, like ATLAS, can be compiled to be multicore

[sage-edu] Re: www.sagenb.org

2009-01-17 Thread William Stein
On Sat, Jan 17, 2009 at 11:15 AM, Robert Bradshaw wrote: > > On Jan 17, 2009, at 5:51 AM, calcp...@aol.com wrote: > >> BTW, if www.sagenb.org runs on a single PC with a quadcore, the >> question still remains, is Sage multicore aware without dSage or are >> you using dSage here? > > Some of the u

[sage-edu] Re: Sage 3.2.3 32bit or 64bit? That is the question....

2009-01-17 Thread William Stein
On Sat, Jan 17, 2009 at 6:03 AM, A. Jorge Garcia wrote: > > OK, I have a new lab with 25 dualcore 2GHz 64bit AMD Athlons. > However, I only have a 32bit OS installed (Knoppix DVD which is like > debian with lots of apps including R and Octave). > > Question 1: > With that setup, I should install

[sage-edu] Re: learning python

2009-01-17 Thread calcpage
Sorry for such a silly question. I was away from my manuals at the time and just playing online at sagenb and got frustrated! You'd think I could have figured that out myself, I've only been teaching programming since 1975! Thanx, A. Jorge Garcia calcp...@aol.com http://calcpage.tripod.com --

[sage-edu] Re: www.sagenb.org

2009-01-17 Thread calcpage
Nice! Thanx, A. Jorge Garcia calcp...@aol.com http://calcpage.tripod.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "sage-edu" group. To post to this group, send email to sage-edu@googlegroups.com To unsubscrib

[sage-edu] draft of "Ani invitation to Sage"

2009-01-17 Thread David Joyner
Hi: I posted a draft of a hopefully motivating and low-level paper at http://sage.math.washington.edu/home/wdj/teaching/calc1-sage/an-invitation-to-sage.pdf It is designed to fit into a book on calculus with Sage, as a introductory chapter. I assume the reader is assumed to know little or no calc

[sage-edu] Re: draft of "Ani invitation to Sage"

2009-01-17 Thread William Stein
On Sat, Jan 17, 2009 at 2:50 PM, David Joyner wrote: > > Hi: > > I posted a draft of a hopefully motivating and low-level paper at > http://sage.math.washington.edu/home/wdj/teaching/calc1-sage/an-invitation-to-sage.pdf > It is designed to fit into a book on calculus with Sage, as a > introductor

[sage-edu] Re: draft of "Ani invitation to Sage"

2009-01-17 Thread William Stein
On Sat, Jan 17, 2009 at 2:50 PM, David Joyner wrote: > > Hi: > > I posted a draft of a hopefully motivating and low-level paper at > http://sage.math.washington.edu/home/wdj/teaching/calc1-sage/an-invitation-to-sage.pdf > It is designed to fit into a book on calculus with Sage, as a > introductor

[sage-edu] Re: draft of "Ani invitation to Sage"

2009-01-17 Thread David Joyner
Thanks for the quote (which I added) and the comment. Yes, I "borroewed" lines form your talks and Harald's talk and from our Notices letter. It needs more details relavant to a young math student, but I'll keep working on it. I plan on eventually posting it somewhere with "The Sage group" as au

[sage-edu] Re: draft of "Ani invitation to Sage"

2009-01-17 Thread A. Jorge Garcia
I saw in this document a sample notebook() page that looked like latex output. How is that done? TIA, A. Jorge Garcia calcp...@aol.com http://calcpage,tripod.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "sage

[sage-edu] Re: learning python

2009-01-17 Thread A. Jorge Garcia
It all sarted with BASIC on a PDP 11/780 from a local BOCES via a 300 baud modem... Regards, A. Jorge Garcia calcp...@aol.com http://calcpage.tripod.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "sage-edu" grou

[sage-edu] Re: draft of "Ani invitation to Sage"

2009-01-17 Thread David Joyner
I think if you have jsmath installed then you can display output as latex in the notebook. On Sat, Jan 17, 2009 at 10:16 PM, A. Jorge Garcia wrote: > > I saw in this document a sample notebook() page that looked like latex > output. How is that done? > > TIA, > A. Jorge Garcia > calcp...@aol.co

[sage-edu] Re: draft of "Ani invitation to Sage"

2009-01-17 Thread jason-sage
David Joyner wrote: > I think if you have jsmath installed then you can display output as latex > in the notebook. > For those that don't know--- The jsmath package David refers to is a javascript package that is included in Sage--no extra installation needed. To see nice typeset output, f

[sage-edu] Re: draft of "Ani invitation to Sage"

2009-01-17 Thread kcrisman
On Jan 17, 7:57 pm, David Joyner wrote: > Thanks for the quote (which I added) and the comment. > > Yes, I "borroewed" lines form your talks and Harald's talk and from > our Notices letter. It needs more details relavant to a young math student, > but I'll keep working on it. > > I plan on even