See http://trac.sagemath.org/sage_trac/ticket/5500
On Mar 17, 2009, at 1:01 AM, chandra wrote: > > On Mar 17, 1:47 am, William Stein <wst...@gmail.com> wrote: > >> I think simply appending a text file of changes to this list would be >> fine for starters. >> >> William > > OK. Here is my list so far: > ==== > Suggested Amendments to Sage Tutorial (Sage 3.4) > > 1. Functions, Indentation, and Counting > > After > > sage: def is_even(n): > ... return n%2 == 0 > > Add > > Press [Return/Enter] once to insert a blank line and conclude the > function definition. > > Also state that this instruction will not be repeated later, but that > all function definitions must be terminated by a blank line. > > 2. Solving Differential Equations > > The pair of equations written on a single line below: > > m_1 x_1'' + (k_1+k_2) x_1 - k_2 x_2 = 0 m_2 x_2''+ k_2 (x_2-x_1) = 0, > > would be better understood as as a pair stacked on top of each other: > > m_1 x_1'' + (k_1+k_2) x_1 - k_2 x_2 = 0 > m_2 x_2''+ k_2 (x_2-x_1) = 0 > > Also, the line > > (with the notation x=x_{1}, y=x_{2}: > > should have a closing, right parenthesis: > > (with the notation x=x_{1}, y=x_{2}): > > 3. Two-dimensional Plots > > The code > > polygon(L, rgbcolor=(1/8,3/4,1/2)) > > should read > > p = polygon(L, rgbcolor=(1/8,3/4,1/2)) > > so that the next line that asks us to type > > show(p, axes=false) > > does not generate an error. > > 4. Basic Rings > > When introducing i for I, it is advisable to clear the variable > namespace for I got the value 199 when I typed i. I had to restart > sage before I got i as a synonym for I. I do not know what caused This > behaviour or how to replicate it. > ==== > > Thanks. > > Chandra > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---