using-sage/script.rst
changeset 408 8f4c369a41f1
parent 392 1353cbda5969
equal deleted inserted replaced
405:ae4bcaff1dde 408:8f4c369a41f1
    26 
    26 
    27 Hello Friends. Welcome to this tutorial on using Sage.
    27 Hello Friends. Welcome to this tutorial on using Sage.
    28 
    28 
    29 {{{ show the slide with outline }}} 
    29 {{{ show the slide with outline }}} 
    30 
    30 
    31 In this tutorial we shall quickly look at a few examples of the areas
    31 In this tutorial we shall quickly look at a few examples of using Sage
    32 (name the areas, here) in which Sage can be used and how it can be
    32 for Linear Algebra, Calculus, Graph Theory and Number theory.
    33 used.
       
    34 
       
    35 .. #[[Anoop: add name of areas and further introduction if needed for
       
    36    a smooth switch]]
       
    37 
    33 
    38 {{{ show the slide with Calculus outline }}} 
    34 {{{ show the slide with Calculus outline }}} 
    39 
    35 
    40 Let us begin with Calculus. We shall be looking at limits,
    36 Let us begin with Calculus. We shall be looking at limits,
    41 differentiation, integration, and Taylor polynomial.
    37 differentiation, integration, and Taylor polynomial.
    60     lim(1/x, x=0, dir='above')
    56     lim(1/x, x=0, dir='above')
    61 
    57 
    62 To find the limit from the negative side, we say,
    58 To find the limit from the negative side, we say,
    63 ::
    59 ::
    64 
    60 
    65     lim(1/x, x=0, dir='above')   
    61     lim(1/x, x=0, dir='below')   
    66 
       
    67 .. #[[Anoop: both the above codes are going the same thing isn't it?]]
       
    68 
    62 
    69 Let us now see how to differentiate, using Sage. We shall find the
    63 Let us now see how to differentiate, using Sage. We shall find the
    70 differential of the expression ``exp(sin(x^2))/x`` w.r.t ``x``. We
    64 differential of the expression ``exp(sin(x^2))/x`` w.r.t ``x``. We
    71 shall first define the expression, and then use the ``diff`` function
    65 shall first define the expression, and then use the ``diff`` function
    72 to obtain the differential of the expression.
    66 to obtain the differential of the expression.