Re: [Tutor] Python and Symbolic Math for beginners

2013-06-17 Thread Steven D'Aprano
On Mon, Jun 17, 2013 at 04:13:49PM +0100, Oscar Benjamin wrote: > On 15 June 2013 10:53, Amit Saha wrote: > > Would any of you have any teaching (or substantial self learning) > > experience with a library for Symbolic math? > > I have taught using Maple. I haven't with Sympy but I do use it myse

Re: [Tutor] Python and Symbolic Math for beginners

2013-06-17 Thread Jim Mooney
> Sorry. At some point I guess Thunderbird decided HTML should be default and > switched all my account settings and made new ones default to HTML. This is a peeve of mine with a Lot of programs. Gmail has the new "convenience" of setting your format to the last format used, so I sometimes forge

Re: [Tutor] Python and Symbolic Math for beginners

2013-06-17 Thread Oscar Benjamin
On 15 June 2013 10:53, Amit Saha wrote: > Would any of you have any teaching (or substantial self learning) > experience with a library for Symbolic math? I have taught using Maple. I haven't with Sympy but I do use it myself. > I am currently exploring sympy (http://sympy.org) as part of writin

Re: [Tutor] Python and Symbolic Math for beginners

2013-06-17 Thread pyt...@outofoptions.net
On 06/17/2013 10:00 AM, Oscar Benjamin wrote: Can you use plain-text instead of html please? I've just had to manually fix the quoting below. Sorry. At some point I guess Thunderbird decided HTML should be default and switched all my account settings and made new ones default to HTML. (Or

Re: [Tutor] Python and Symbolic Math for beginners

2013-06-17 Thread Oscar Benjamin
On 17 June 2013 04:16, Jim Mooney wrote: >> yeah, I am playing with the Python 3 version. Works great so far. > > I didn't even look at the docs, but I think I got the solve part > working. I cut down on typing a bit, though. Typing Symbol all day > long could get tedious: > > from sympy import Sy

Re: [Tutor] Python and Symbolic Math for beginners

2013-06-17 Thread Oscar Benjamin
Can you use plain-text instead of html please? I've just had to manually fix the quoting below. On 17 June 2013 03:19, pyt...@outofoptions.net wrote: > On 06/16/2013 10:14 PM, epi wrote: >> >> i guess you'll find this pretty interesting : >> >> http://nbviewer.ipython.org/url/edu.scios.ch/sympy/n

Re: [Tutor] Python and Symbolic Math for beginners

2013-06-16 Thread Amit Saha
On Mon, Jun 17, 2013 at 1:25 PM, Jim Mooney wrote: > On 16 June 2013 20:18, Amit Saha wrote: >> >> This is a new tutorial the SymPy guys are working on: >> http://docs.sympy.org/tutorial/tutorial/index.html > > Thanks. A lot of math bored me but I see it has matrices, and I really > liked linear

Re: [Tutor] Python and Symbolic Math for beginners

2013-06-16 Thread Amit Saha
On Mon, Jun 17, 2013 at 1:25 PM, Jim Mooney wrote: > On 16 June 2013 20:18, Amit Saha wrote: >> >> This is a new tutorial the SymPy guys are working on: >> http://docs.sympy.org/tutorial/tutorial/index.html > > Thanks. A lot of math bored me but I see it has matrices, and I really > liked linear

Re: [Tutor] Python and Symbolic Math for beginners

2013-06-16 Thread Jim Mooney
On 16 June 2013 20:18, Amit Saha wrote: > > This is a new tutorial the SymPy guys are working on: > http://docs.sympy.org/tutorial/tutorial/index.html Thanks. A lot of math bored me but I see it has matrices, and I really liked linear algebra for some odd reason. I might fool with it again since

Re: [Tutor] Python and Symbolic Math for beginners

2013-06-16 Thread Amit Saha
On Mon, Jun 17, 2013 at 1:16 PM, Jim Mooney wrote: >> yeah, I am playing with the Python 3 version. Works great so far. > > I didn't even look at the docs, but I think I got the solve part > working. I cut down on typing a bit, though. Typing Symbol all day > long could get tedious: > > from sympy

Re: [Tutor] Python and Symbolic Math for beginners

2013-06-16 Thread Jim Mooney
> yeah, I am playing with the Python 3 version. Works great so far. I didn't even look at the docs, but I think I got the solve part working. I cut down on typing a bit, though. Typing Symbol all day long could get tedious: from sympy import Symbol as S, solve, pprint a,b,c,x = S('a'),S('b'),S('c

Re: [Tutor] Python and Symbolic Math for beginners

2013-06-16 Thread Jim Mooney
On 16 June 2013 18:28, Amit Saha wrote: > On Mon, Jun 17, 2013 at 11:25 AM, bob gailer wrote: >> On 6/15/2013 5:53 AM, Amit Saha wrote: >>> >>> Symbolic math? >> >> What is that? > > Eg: https://gist.github.com/amitsaha/5787802 x wasn't defined, and it didn't look like you needed solve(expr,x

Re: [Tutor] Python and Symbolic Math for beginners

2013-06-16 Thread Amit Saha
On Mon, Jun 17, 2013 at 12:47 PM, Jim Mooney wrote: > On 16 June 2013 18:28, Amit Saha wrote: >> On Mon, Jun 17, 2013 at 11:25 AM, bob gailer wrote: >>> On 6/15/2013 5:53 AM, Amit Saha wrote: Symbolic math? >>> >>> What is that? >> >> Eg: https://gist.github.com/amitsaha/5787802 > >

Re: [Tutor] Python and Symbolic Math for beginners

2013-06-16 Thread Amit Saha
On Mon, Jun 17, 2013 at 12:14 PM, epi wrote: > i guess you'll find this pretty interesting : > > http://nbviewer.ipython.org/url/edu.scios.ch/sympy/nb_sample_sympy.ipynb > > sympy latex rendering using the ipython notebook … > > Have fun ;) Thanks, I am aware of that. I was asking for any other b

Re: [Tutor] Python and Symbolic Math for beginners

2013-06-16 Thread pyt...@outofoptions.net
On 06/16/2013 10:14 PM, epi wrote: i guess you'll find this pretty interesting : http://nbviewer.ipython.org/url/edu.scios.ch/sympy/nb_sample_sympy.ipynb sympy latex rendering using the ipython notebook ... Have fun ;) Is this intertwined with Sage? I know Sage is mostly python. http://www.

Re: [Tutor] Python and Symbolic Math for beginners

2013-06-16 Thread epi
i guess you'll find this pretty interesting : http://nbviewer.ipython.org/url/edu.scios.ch/sympy/nb_sample_sympy.ipynb sympy latex rendering using the ipython notebook … Have fun ;) Il giorno 15/giu/2013, alle ore 05:53, Amit Saha ha scritto: > Hello Tutors, > > Would any of you have any te

Re: [Tutor] Python and Symbolic Math for beginners

2013-06-16 Thread Steven D'Aprano
On 17/06/13 11:25, bob gailer wrote: On 6/15/2013 5:53 AM, Amit Saha wrote: Symbolic math? What is that? Algebra, calculus and similar. py> import sympy py> x = sympy.Symbol('x') py> ((x + 2)**3).expand() x**3 + 6*x**2 + 12*x + 8 Where possible, it calculates exact mathematical results:

Re: [Tutor] Python and Symbolic Math for beginners

2013-06-16 Thread bob gailer
On 6/15/2013 5:53 AM, Amit Saha wrote: Symbolic math? What is that? -- Bob Gailer 919-636-4239 Chapel Hill NC ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Python and Symbolic Math for beginners

2013-06-16 Thread Amit Saha
On Mon, Jun 17, 2013 at 11:25 AM, bob gailer wrote: > On 6/15/2013 5:53 AM, Amit Saha wrote: >> >> Symbolic math? > > What is that? Eg: https://gist.github.com/amitsaha/5787802 -- http://echorand.me ___ Tutor maillist - Tutor@python.org To unsubscr

[Tutor] Python and Symbolic Math for beginners

2013-06-15 Thread Amit Saha
Hello Tutors, Would any of you have any teaching (or substantial self learning) experience with a library for Symbolic math? I am currently exploring sympy (http://sympy.org) as part of writing a book chapter and would like to know if there any better/easier option out there which can successfull