author  anand 
Mon, 15 Nov 2010 14:54:10 +0530  
changeset 502  8ca74cb15807 
parent 501  2c30d4a242ee 
permissions  rwrr 
256
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

1 
.. Objectives 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

2 
..  
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

3 

334  4 
.. By the end of this tutorial you will be able to 
5 

6 
.. * use ``@interact`` feature of SAGE 

7 
.. * learn to share, publish and edit SAGE worksheets 

256
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

8 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

9 
.. Prerequisites 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

10 
..  
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

11 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

12 
.. 1. Getting started with lists 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

13 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

14 
.. Author : Nishanth Amuluru 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

15 
Internal Reviewer : 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

16 
External Reviewer : 
501  17 
Language Reviewer : Bhanukiran 
502
8ca74cb15807
checklist not ok; 5 short answer questions and 2 long answer questions
anand
parents:
501
diff
changeset

18 
Checklist OK? : <put date stamp here, not OK> [20101005] 
256
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

19 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

20 
Script 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

21 
 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

22 

459
68c324a9981c
Reviewed using sage to teach
Puneeth Chaganti <punchagan@fossee.in>
parents:
334
diff
changeset

23 
{{{ Show the slide containing title }}} 
256
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

24 

459
68c324a9981c
Reviewed using sage to teach
Puneeth Chaganti <punchagan@fossee.in>
parents:
334
diff
changeset

25 
Hello friends and welcome to the tutorial on Using SAGE to teach 
256
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

26 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

27 
{{{ Show the slide containing the outline slide }}} 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

28 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

29 
In this tutorial, we shall learn 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

30 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

31 
* How to use the "@interact" feature of SAGE for better demonstration 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

32 
* How to use SAGE for collaborative learning 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

33 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

34 
Let us look at a typical example of demonstrating a damped oscillation. 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

35 
:: 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

36 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

37 
t = var('t') 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

38 
p1 = plot( e^(t) * sin(2*t), (t, 0, 15)) 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

39 
show(p1) 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

40 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

41 
Now let us reduce the damping factor 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

42 
:: 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

43 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

44 
t = var('t') 
459
68c324a9981c
Reviewed using sage to teach
Puneeth Chaganti <punchagan@fossee.in>
parents:
334
diff
changeset

45 
p1 = plot(e^(t/2) * sin(2*t), (t, 0, 15)) 
256
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

46 
show(p1) 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

47 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

48 
Now if we want to reduce the damping factor even more, we would be using 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

49 
e^(t/3). We can observe that every time we have to change, all we do is change 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

50 
something very small and re evaluate the cell. 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

51 

459
68c324a9981c
Reviewed using sage to teach
Puneeth Chaganti <punchagan@fossee.in>
parents:
334
diff
changeset

52 
This process can be simplified, using the ``@interact`` feature of SAGE. 
256
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

53 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

54 
:: 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

55 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

56 
@interact 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

57 
def plot_damped(n=1): 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

58 
t = var('t') 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

59 
p1 = plot( e^(t/n) * sin(2*t), (t, 0, 20)) 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

60 
show(p1) 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

61 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

62 
We can see that the function is evaluated and the plot is shown. We can also 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

63 
see that there is a field to enter the value of ``n`` and it is currently set 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

64 
to ``1``. Let us change it to 2 and hit enter. 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

65 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

66 
We see that the new plot with reduced damping factor is shown. Similarly we can 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

67 
change ``n`` to any desired value and hit enter and the function will be 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

68 
evaluated. 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

69 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

70 
This is a very handy tool while demonstrating or teaching. 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

71 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

72 
{{{ Pause here and try out the following exercises }}} 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

73 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

74 
%% 1 %% Plot the sine curve and vary its frequency using the ``@interact`` 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

75 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

76 
{{{ continue from paused state }}} 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

77 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

78 
:: 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

79 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

80 
@interact 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

81 
def sine_plot(n=1): 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

82 
x = var('x') 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

83 
p2 = plot(sin(n*x), (x, 0, 2*pi)) 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

84 
show(p2) 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

85 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

86 
Often we would want to vary a parameter over range instead of taking it as an 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

87 
input from the user. For instance we do not want the user to give ``n`` as 0 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

88 
for the damping oscillation we discussed. In such cases we use a range of 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

89 
values as the default argument. 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

90 
:: 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

91 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

92 
@interact 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

93 
def plot_damped(n=(1..10)): 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

94 
t = var('t') 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

95 
p1 = plot( e^(t/n) * sin(2*t), (t, 0, 20)) 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

96 
show(p1) 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

97 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

98 
We get similar plot but the only difference is the input widget. Here it is a 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

99 
slider unlike an input field. We can see that as the slider is moved, the 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

100 
function is evaluated and plotted accordingly. 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

101 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

102 
{{{ Pause here and try out the following exercises }}} 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

103 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

104 
%% 2 %% Take a string as input from user and circular shift it to the left and 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

105 
vary the shift length using a slider 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

106 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

107 
{{{ continue from paused state }}} 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

108 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

109 
:: 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

110 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

111 
@interact 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

112 
def str_shift(s="MADAM", shift=(0..8)): 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

113 
shift_len = shift % len(s) 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

114 
chars = list(s) 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

115 
shifted_chars = chars[shift_len:] + chars[:shift_len] 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

116 
print "Actual String:", s 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

117 
print "Shifted String:", "".join(shifted_chars) 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

118 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

119 
Sometimes we want the user to have only a given set of options. We use a list 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

120 
of items as the default argument in such situations. 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

121 
:: 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

122 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

123 
@interact 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

124 
def str_shift(s="STRING", shift=(0..8), direction=["Left", "Right"]): 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

125 
shift_len = shift % len(s) 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

126 
chars = list(s) 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

127 
if direction == "Right": 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

128 
shifted_chars = chars[shift_len:] + chars[:shift_len] 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

129 
else: 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

130 
shifted_chars = chars[shift_len:] + chars[:shift_len] 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

131 
print "Actual String:", s 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

132 
print "Shifted String:", "".join(shifted_chars) 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

133 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

134 
We can see that buttons are displayed which enables us to select from a given 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

135 
set of options. 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

136 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

137 
We have learnt how to use the ``@interact`` feature of SAGE for better 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

138 
demonstration. We shall look at how to use SAGE worksheets for collaborative 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

139 
learning. 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

140 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

141 
The first feature we shall see is the ``publish`` feature. Open a worksheet and 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

142 
in the top right, we can see a button called ``publish``. Click on that and we 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

143 
get a confirmation page with an option for re publishing. 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

144 

459
68c324a9981c
Reviewed using sage to teach
Puneeth Chaganti <punchagan@fossee.in>
parents:
334
diff
changeset

145 
For now lets forget that option and simply publish by clicking ``yes``. The 
256
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

146 
worksheet is now published. 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

147 

459
68c324a9981c
Reviewed using sage to teach
Puneeth Chaganti <punchagan@fossee.in>
parents:
334
diff
changeset

148 
Now lets sign out and go to the sage notebook home. We see link to browse 
256
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

149 
published worksheets. Lets click on it and we can see the worksheet. This does 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

150 
not require login and anyone can view the worksheet. 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

151 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

152 
Alternatively, if one wants to edit the sheet, there is a link on top left 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

153 
corner that enables the user to download a copy of the sheet onto their home. 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

154 
This way they can edit a copy of the worksheet. 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

155 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

156 
We have learnt how to publish the worksheets to enable users to edit a copy. 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

157 
Next, we shall look at how to enable users to edit the actual worksheet itself. 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

158 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

159 
Let us open the worksheet and we see a link called ``share`` on the top right 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

160 
corner of the worksheet. Click the link and we get a box where we can type the 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

161 
usernames of users whom we want to share the worksheet with. We can even 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

162 
specify multiple users by seperating their names using commas. Once we have 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

163 
shared the worksheet, the worksheet appears on the home of shared users. 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

164 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

165 
{{{ Show summary slide }}} 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

166 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

167 
This brings us to the end of the tutorial. 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

168 
we have learnt 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

169 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

170 
* How to user interactive feaures of SAGE 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

171 
* How to publish our work 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

172 
* How to edit a copy of one of the published worksheets 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

173 
* How to share the worksheets with fellow users 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

174 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

175 
{{{ Show the "sponsored by FOSSEE" slide }}} 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

176 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

177 
This tutorial was created as a part of FOSSEE project, NME ICT, MHRD India 
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

178 

a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

179 
Hope you have enjoyed and found it useful. 
459
68c324a9981c
Reviewed using sage to teach
Puneeth Chaganti <punchagan@fossee.in>
parents:
334
diff
changeset

180 
Thank you! 
256
a3aa223c1662
added script to using_sage_to_teach
Nishanth <nishanth@fossee.in>
parents:
diff
changeset

181 