using-sage/script.rst
changeset 361 a28d592851b4
parent 310 c670fa2c375e
child 391 9488bd286779
equal deleted inserted replaced
360:270b7f0715c9 361:a28d592851b4
    12 .. -------------
    12 .. -------------
    13 
    13 
    14 .. Getting Started -- Sage  
    14 .. Getting Started -- Sage  
    15      
    15      
    16 .. Author              : Puneeth 
    16 .. Author              : Puneeth 
    17    Internal Reviewer   : 
    17    Internal Reviewer   : Anoop Jacob Thomas<anoop@fossee.in>
    18    External Reviewer   :
    18    External Reviewer   :
    19    Checklist OK?       : <put date stamp here, if OK> [2010-10-05]
    19    Checklist OK?       : <put date stamp here, if OK> [2010-10-05]
    20 
    20 
    21 Script
    21 Script
    22 ------
    22 ------
    29 
    29 
    30 In this tutorial we shall quickly look at a few examples of the areas
    30 In this tutorial we shall quickly look at a few examples of the areas
    31 (name the areas, here) in which Sage can be used and how it can be
    31 (name the areas, here) in which Sage can be used and how it can be
    32 used.
    32 used.
    33 
    33 
       
    34 .. #[[Anoop: add name of areas and further introduction if needed for
       
    35    a smooth switch]]
       
    36 
    34 {{{ show the slide with Calculus outline }}} 
    37 {{{ show the slide with Calculus outline }}} 
    35 
    38 
    36 Let us begin with Calculus. We shall be looking at limits,
    39 Let us begin with Calculus. We shall be looking at limits,
    37 differentiation, integration, and Taylor polynomial.
    40 differentiation, integration, and Taylor polynomial.
    38 
    41 
    57 
    60 
    58 To find the limit from the negative side, we say,
    61 To find the limit from the negative side, we say,
    59 ::
    62 ::
    60 
    63 
    61     lim(1/x, x=0, dir='above')   
    64     lim(1/x, x=0, dir='above')   
       
    65 
       
    66 .. #[[Anoop: both the above codes are going the same thing isn't it?]]
    62 
    67 
    63 Let us now see how to differentiate, using Sage. We shall find the
    68 Let us now see how to differentiate, using Sage. We shall find the
    64 differential of the expression ``exp(sin(x^2))/x`` w.r.t ``x``. We
    69 differential of the expression ``exp(sin(x^2))/x`` w.r.t ``x``. We
    65 shall first define the expression, and then use the ``diff`` function
    70 shall first define the expression, and then use the ``diff`` function
    66 to obtain the differential of the expression.
    71 to obtain the differential of the expression.
   206 gives all the combinations of ``[1, 2, 3, 4]``
   211 gives all the combinations of ``[1, 2, 3, 4]``
   207   
   212   
   208 That brings us to the end of this session showing various features
   213 That brings us to the end of this session showing various features
   209 available in Sage. 
   214 available in Sage. 
   210 
   215 
       
   216 .. #[[Anoop: I feel we should add more slides, a possibility is to add
       
   217    the code which they are required to type in, I also feel we should
       
   218    add some review problems for them to try out.]]
       
   219 
   211 {{{ Show summary slide }}}
   220 {{{ Show summary slide }}}
   212 
   221 
   213 We have looked at some of the functions available for Linear Algebra,
   222 We have looked at some of the functions available for Linear Algebra,
   214 Calculus, Graph Theory and Number theory.   
   223 Calculus, Graph Theory and Number theory.   
   215 
   224