using_sage_to_teach/script.rst
changeset 459 68c324a9981c
parent 334 4b1e81da1c80
child 501 2c30d4a242ee
equal deleted inserted replaced
458:9a1c5d134feb 459:68c324a9981c
    17    Checklist OK?       : <put date stamp here, if OK> [2010-10-05]
    17    Checklist OK?       : <put date stamp here, if OK> [2010-10-05]
    18 
    18 
    19 Script
    19 Script
    20 ------
    20 ------
    21 
    21 
    22 Hello friends and welcome to the tutorial on "Using SAGE to teach"
    22 {{{ Show the slide containing title }}}
    23 
    23 
    24 {{{ Show the slide containing title }}}
    24 Hello friends and welcome to the tutorial on Using SAGE to teach
    25 
    25 
    26 {{{ Show the slide containing the outline slide }}}
    26 {{{ Show the slide containing the outline slide }}}
    27 
    27 
    28 In this tutorial, we shall learn
    28 In this tutorial, we shall learn
    29 
    29 
    39 
    39 
    40 Now let us reduce the damping factor
    40 Now let us reduce the damping factor
    41 ::
    41 ::
    42 
    42 
    43     t = var('t')
    43     t = var('t')
    44     p1 = plot( e^(-t/2) * sin(2*t), (t, 0, 15))
    44     p1 = plot(e^(-t/2) * sin(2*t), (t, 0, 15))
    45     show(p1)
    45     show(p1)
    46 
    46 
    47 Now if we want to reduce the damping factor even more, we would be using
    47 Now if we want to reduce the damping factor even more, we would be using
    48 e^(-t/3). We can observe that every time we have to change, all we do is change
    48 e^(-t/3). We can observe that every time we have to change, all we do is change
    49 something very small and re evaluate the cell.
    49 something very small and re evaluate the cell.
    50 
    50 
    51 This process can be automated using the ``@interact`` feature of SAGE.
    51 This process can be simplified, using the ``@interact`` feature of SAGE.
    52 
    52 
    53 ::
    53 ::
    54 
    54 
    55     @interact
    55     @interact
    56     def plot_damped(n=1):
    56     def plot_damped(n=1):
   139 
   139 
   140 The first feature we shall see is the ``publish`` feature. Open a worksheet and
   140 The first feature we shall see is the ``publish`` feature. Open a worksheet and
   141 in the top right, we can see a button called ``publish``. Click on that and we
   141 in the top right, we can see a button called ``publish``. Click on that and we
   142 get a confirmation page with an option for re publishing.
   142 get a confirmation page with an option for re publishing.
   143 
   143 
   144 For now lets forget that opion and simply publish by cliking ``yes``. The
   144 For now lets forget that option and simply publish by clicking ``yes``. The
   145 worksheet is now published. 
   145 worksheet is now published. 
   146 
   146 
   147 Now lets signout and go to the sage notebook home. We see link to browse
   147 Now lets sign out and go to the sage notebook home. We see link to browse
   148 published worksheets. Lets click on it and we can see the worksheet. This does
   148 published worksheets. Lets click on it and we can see the worksheet. This does
   149 not require login and anyone can view the worksheet.
   149 not require login and anyone can view the worksheet.
   150 
   150 
   151 Alternatively, if one wants to edit the sheet, there is a link on top left
   151 Alternatively, if one wants to edit the sheet, there is a link on top left
   152 corner that enables the user to download a copy of the sheet onto their home.
   152 corner that enables the user to download a copy of the sheet onto their home.
   171  * How to edit a copy of one of the published worksheets
   171  * How to edit a copy of one of the published worksheets
   172  * How to share the worksheets with fellow users
   172  * How to share the worksheets with fellow users
   173 
   173 
   174 {{{ Show the "sponsored by FOSSEE" slide }}}
   174 {{{ Show the "sponsored by FOSSEE" slide }}}
   175 
   175 
   176 #[Nishanth]: Will add this line after all of us fix on one.
       
   177 This tutorial was created as a part of FOSSEE project, NME ICT, MHRD India
   176 This tutorial was created as a part of FOSSEE project, NME ICT, MHRD India
   178 
   177 
   179 Hope you have enjoyed and found it useful.
   178 Hope you have enjoyed and found it useful.
   180 Thankyou
   179 Thank you!
   181 
   180