aboutsummaryrefslogtreecommitdiff
path: root/src/Lecture4
diff options
context:
space:
mode:
Diffstat (limited to 'src/Lecture4')
-rw-r--r--src/Lecture4/live/live.zipbin0 -> 2264 bytes
-rw-r--r--src/Lecture4/live/live1.py17
-rw-r--r--src/Lecture4/live/live2.py7
-rw-r--r--src/Lecture4/live/live3.py9
-rw-r--r--src/Lecture4/live/live4.py39
-rw-r--r--src/Lecture4/live/live_interactive.py172
-rw-r--r--src/Lecture4/slides/6-PythonIntroduction.aux76
-rw-r--r--src/Lecture4/slides/6-PythonIntroduction.log1283
-rw-r--r--src/Lecture4/slides/6-PythonIntroduction.nav57
-rw-r--r--src/Lecture4/slides/6-PythonIntroduction.out0
-rw-r--r--src/Lecture4/slides/6-PythonIntroduction.pdfbin0 -> 771892 bytes
-rw-r--r--src/Lecture4/slides/6-PythonIntroduction.snm0
-rw-r--r--src/Lecture4/slides/6-PythonIntroduction.tex466
-rw-r--r--src/Lecture4/slides/6-PythonIntroduction.toc0
-rw-r--r--src/Lecture4/slides/6-PythonIntroduction.vrb32
-rw-r--r--src/Lecture4/slides/img/calc.jpgbin0 -> 104819 bytes
-rw-r--r--src/Lecture4/slides/img/equal.pngbin0 -> 8229 bytes
-rw-r--r--src/Lecture4/slides/img/geany.pngbin0 -> 85066 bytes
-rw-r--r--src/Lecture4/slides/img/laptop.pngbin0 -> 158008 bytes
-rw-r--r--src/Lecture4/slides/img/python.pngbin0 -> 129327 bytes
-rw-r--r--src/Lecture4/slides/img/sage.svg72
-rw-r--r--src/Lecture4/slides/img/term.pngbin0 -> 45939 bytes
-rw-r--r--src/Lecture4/slides/img/unilu.jpgbin0 -> 41957 bytes
-rw-r--r--src/Lecture4/slides/svg-inkscape/sage_svg-tex.pdfbin0 -> 13760 bytes
-rw-r--r--src/Lecture4/slides/svg-inkscape/sage_svg-tex.pdf_tex58
25 files changed, 2288 insertions, 0 deletions
diff --git a/src/Lecture4/live/live.zip b/src/Lecture4/live/live.zip
new file mode 100644
index 0000000..81e11a8
--- /dev/null
+++ b/src/Lecture4/live/live.zip
Binary files differ
diff --git a/src/Lecture4/live/live1.py b/src/Lecture4/live/live1.py
new file mode 100644
index 0000000..da505f2
--- /dev/null
+++ b/src/Lecture4/live/live1.py
@@ -0,0 +1,17 @@
1print(2+2)
2
3x = input("Input something: ")
4print("Your input was:", x, "of type", type(x))
5
6x_number = int(x)
7print("Converted to a number:", x_number, "of type", type(x_number))
8
9if x_number > 10:
10 print("Your number was large!")
11 print("It was larger than 10")
12 z = x_number-10
13 print("This is a smaller number:", z)
14else:
15 print("Your number was small")
16
17print("Bye")
diff --git a/src/Lecture4/live/live2.py b/src/Lecture4/live/live2.py
new file mode 100644
index 0000000..041bda3
--- /dev/null
+++ b/src/Lecture4/live/live2.py
@@ -0,0 +1,7 @@
1x = int(input("Input something: "))
2
3while x > 10:
4 print("Large number!", x)
5 x = x - 1
6
7print("Bye")
diff --git a/src/Lecture4/live/live3.py b/src/Lecture4/live/live3.py
new file mode 100644
index 0000000..14aa89b
--- /dev/null
+++ b/src/Lecture4/live/live3.py
@@ -0,0 +1,9 @@
1x = int(input("Input something: "))
2
3A = [1,2,3]
4
5for i in range(2,9):
6 z = 10**i
7 print("A power of 10:", z)
8
9print("Bye")
diff --git a/src/Lecture4/live/live4.py b/src/Lecture4/live/live4.py
new file mode 100644
index 0000000..b011675
--- /dev/null
+++ b/src/Lecture4/live/live4.py
@@ -0,0 +1,39 @@
1
2def fun(a, b):
3 print("This is function fun")
4 print("I am executing!")
5 print("Your parameter a:", a)
6 z = a + b
7 if z > 10:
8 print("Your sum is large!", z)
9 while z > 5:
10 print("Decreasing sum:", z-1)
11 z = z - 1
12
13#fun(2, 11)
14#print("..")
15#fun(0, 7)
16
17def g(x, y):
18 #print("This is function g")
19 return (x**2 +1)*y
20
21print(g(10,2)-100)
22
23
24def fibo(n):
25 if n == 0:
26 return 0
27 if n == 1:
28 return 1
29 return fibo(n-1) + fibo(n-2)
30
31
32
33print(fibo(5))
34F = [fibo(x) for x in range(6)]
35print(F)
36
37
38
39
diff --git a/src/Lecture4/live/live_interactive.py b/src/Lecture4/live/live_interactive.py
new file mode 100644
index 0000000..671cbad
--- /dev/null
+++ b/src/Lecture4/live/live_interactive.py
@@ -0,0 +1,172 @@
12+2
23*5
33/5
43 // 5
52.5 + (456 - 0.3)
62 ** 10
713 // 5
813 % 5
9sqrt(3)
10import math
11sqrt(3)
12math.sqrt(3)
13help()
14math
15asfdads
162+2
17help("import")
18sqrt(10)
19math.sqrt(10)
20from math import *
21sqrt(10)
2210 - _
23_
24x = 10 + sqrt(3)
25x
26abc_3 = 45+3*(2-1.4)
27abc_3
28x / (abc_3+2)
29x
30x = 3*abc_3
31x
32abc_3 = 0
33abc_3
34x
351 = 1
361 == 1
371 == 3
38x
39type(x)
40abc_3
41type(abc_3)
42type(3/2)
43type(3/1)
443/1
45type(1 == 1)
46y = False
47z = (2 == 2)
48y
49z
50type(z)
51type(y)
52y and z
53True and True
54y or z
55not True
563 >= 4
573 >= 3
583 > 3
593 != 4
60hello
61"hello"
62type("hello")
63st = "Hello, World!"
64st
65type(st)
66len(st)
67"hello" + ", world"
68"abc" + "abc"
692 * "abc"
7010 * "abc"
71"hello" * "abc"
72True + False
73[1,2,3,1,-1.5]
74[1,True,"hello"]
75L = [1,True,"hello"]
76type(L)
77{1,2,3,1,-1.5}
78{12, 25, 10, -1}
79len(L)
80len({1,1,1})
81{1,1,1}
821 in L
83-42 in L
841.5 in {2,3.1,1.5}
85S = {-2, 0, 10, 25}
86max(S)
87min(S)
88sum(S)
89sum([10,2,45])
90L
91min(L)
92L2 = [1,2, 1, -2, 0, 2]
93set(L2)
94list({1,2,1,3,-2})
95S
96list(S)
97[x**2 for x in [-1,4,1,0] if x < 3]
98{x**2 for x in [-1,4,1,0] if x < 3}
99{x+2 for x in [-1,4,1,0] if x < 3}
100{x+2 for x in {-1,4,1,0} if x < 3}
101[x+2 for x in {-1,4,1,0} if x < 3]
102[x+2 for x in {-1,4,1,0} if True]
103[x+2 for x in {-1,4,1,0}]
104[x+2 for x in {-1,4,1,0} if x+10-3.24 < x^2]
105[i*j for i in [0,1,2,3] for j in {-1,1}]
106range(0,4)
107type(range(0,4))
108[i*j for i in range(0,4) for j in {-1,1}]
109list(range(0,4))
110list(range(3,4))
111list(range(3,10))
112list(range(10))
113list(range(1,10,2))
114list(range(10,1,-1))
115L
116L[0]
117L[1]
118L[2]
119L[10]
120L[-1]
121L[len(L)-1]
122L[len(L)-3]
123L[-3]
124L2
125L[1:4]
126L2[1:4]
127L2[1:4:2]
128R=range(10)
129R
130R=list(range(10))
131R
132R[2:8:2]
133R[9:3:-1]
134R
135type(R)
136R[3]
137R[3] = 3.14
138R
139R.append(10)
140R
141R.insert(3,3.0)
142R
143R[3]
144del R[4]
145R
146L
147R
148L + R
149L
150R
151L * 3
1523 * L
153S
154type(S)
155S.add(3)
156S
157S.add(10)
158S
159S.remove(25)
160S
161T = {3, -2, 27, 99}
162{3, -2} < T
163{3, -2} < S
164S >= {3, -2}
165S >= S
166S > S
167S | T
168S & T
169S - T
1702+3
171import readline
172readline.write_history_file('live_interactive.py')
diff --git a/src/Lecture4/slides/6-PythonIntroduction.aux b/src/Lecture4/slides/6-PythonIntroduction.aux
new file mode 100644
index 0000000..49f1525
--- /dev/null
+++ b/src/Lecture4/slides/6-PythonIntroduction.aux
@@ -0,0 +1,76 @@
1\relax
2\providecommand\hyper@newdestlabel[2]{}
3\providecommand{\transparent@use}[1]{}
4\providecommand\HyperFirstAtBeginDocument{\AtBeginDocument}
5\HyperFirstAtBeginDocument{\ifx\hyper@anchor\@undefined
6\global\let\oldcontentsline\contentsline
7\gdef\contentsline#1#2#3#4{\oldcontentsline{#1}{#2}{#3}}
8\global\let\oldnewlabel\newlabel
9\gdef\newlabel#1#2{\newlabelxx{#1}#2}
10\gdef\newlabelxx#1#2#3#4#5#6{\oldnewlabel{#1}{{#2}{#3}}}
11\AtEndDocument{\ifx\hyper@anchor\@undefined
12\let\contentsline\oldcontentsline
13\let\newlabel\oldnewlabel
14\fi}
15\fi}
16\global\let\hyper@last\relax
17\gdef\HyperFirstAtBeginDocument#1{#1}
18\providecommand\HyField@AuxAddToFields[1]{}
19\providecommand\HyField@AuxAddToCoFields[2]{}
20\@writefile{nav}{\headcommand {\slideentry {0}{0}{1}{1/1}{}{0}}}
21\@writefile{nav}{\headcommand {\beamer@framepages {1}{1}}}
22\@writefile{nav}{\headcommand {\slideentry {0}{0}{2}{2/2}{}{0}}}
23\@writefile{nav}{\headcommand {\beamer@framepages {2}{2}}}
24\@writefile{nav}{\headcommand {\slideentry {0}{0}{3}{3/3}{}{0}}}
25\@writefile{nav}{\headcommand {\beamer@framepages {3}{3}}}
26\@writefile{nav}{\headcommand {\slideentry {0}{0}{4}{4/4}{}{0}}}
27\@writefile{nav}{\headcommand {\beamer@framepages {4}{4}}}
28\@writefile{nav}{\headcommand {\slideentry {0}{0}{5}{5/5}{}{0}}}
29\@writefile{nav}{\headcommand {\beamer@framepages {5}{5}}}
30\@writefile{nav}{\headcommand {\slideentry {0}{0}{6}{6/6}{}{0}}}
31\@writefile{nav}{\headcommand {\beamer@framepages {6}{6}}}
32\@writefile{nav}{\headcommand {\slideentry {0}{0}{7}{7/7}{}{0}}}
33\@writefile{nav}{\headcommand {\beamer@framepages {7}{7}}}
34\@writefile{nav}{\headcommand {\slideentry {0}{0}{8}{8/8}{}{0}}}
35\@writefile{nav}{\headcommand {\beamer@framepages {8}{8}}}
36\@writefile{nav}{\headcommand {\slideentry {0}{0}{9}{9/9}{}{0}}}
37\@writefile{nav}{\headcommand {\beamer@framepages {9}{9}}}
38\@writefile{nav}{\headcommand {\slideentry {0}{0}{10}{10/10}{}{0}}}
39\@writefile{nav}{\headcommand {\beamer@framepages {10}{10}}}
40\@writefile{nav}{\headcommand {\slideentry {0}{0}{11}{11/11}{}{0}}}
41\@writefile{nav}{\headcommand {\beamer@framepages {11}{11}}}
42\@writefile{nav}{\headcommand {\slideentry {0}{0}{12}{12/12}{}{0}}}
43\@writefile{nav}{\headcommand {\beamer@framepages {12}{12}}}
44\@writefile{nav}{\headcommand {\slideentry {0}{0}{13}{13/13}{}{0}}}
45\@writefile{nav}{\headcommand {\beamer@framepages {13}{13}}}
46\@writefile{nav}{\headcommand {\slideentry {0}{0}{14}{14/14}{}{0}}}
47\@writefile{nav}{\headcommand {\beamer@framepages {14}{14}}}
48\@writefile{nav}{\headcommand {\slideentry {0}{0}{15}{15/15}{}{0}}}
49\@writefile{nav}{\headcommand {\beamer@framepages {15}{15}}}
50\@writefile{nav}{\headcommand {\slideentry {0}{0}{16}{16/16}{}{0}}}
51\@writefile{nav}{\headcommand {\beamer@framepages {16}{16}}}
52\@writefile{nav}{\headcommand {\slideentry {0}{0}{17}{17/17}{}{0}}}
53\@writefile{nav}{\headcommand {\beamer@framepages {17}{17}}}
54\@writefile{nav}{\headcommand {\slideentry {0}{0}{18}{18/18}{}{0}}}
55\@writefile{nav}{\headcommand {\beamer@framepages {18}{18}}}
56\@writefile{nav}{\headcommand {\slideentry {0}{0}{19}{19/19}{}{0}}}
57\@writefile{nav}{\headcommand {\beamer@framepages {19}{19}}}
58\@writefile{nav}{\headcommand {\slideentry {0}{0}{20}{20/20}{}{0}}}
59\@writefile{nav}{\headcommand {\beamer@framepages {20}{20}}}
60\@writefile{nav}{\headcommand {\slideentry {0}{0}{21}{21/21}{}{0}}}
61\@writefile{nav}{\headcommand {\beamer@framepages {21}{21}}}
62\@writefile{nav}{\headcommand {\slideentry {0}{0}{22}{22/22}{}{0}}}
63\@writefile{nav}{\headcommand {\beamer@framepages {22}{22}}}
64\@writefile{nav}{\headcommand {\slideentry {0}{0}{23}{23/23}{}{0}}}
65\@writefile{nav}{\headcommand {\beamer@framepages {23}{23}}}
66\@writefile{nav}{\headcommand {\slideentry {0}{0}{24}{24/24}{}{0}}}
67\@writefile{nav}{\headcommand {\beamer@framepages {24}{24}}}
68\@writefile{nav}{\headcommand {\slideentry {0}{0}{25}{25/25}{}{0}}}
69\@writefile{nav}{\headcommand {\beamer@framepages {25}{25}}}
70\@writefile{nav}{\headcommand {\slideentry {0}{0}{26}{26/26}{}{0}}}
71\@writefile{nav}{\headcommand {\beamer@framepages {26}{26}}}
72\@writefile{nav}{\headcommand {\beamer@partpages {1}{26}}}
73\@writefile{nav}{\headcommand {\beamer@subsectionpages {1}{26}}}
74\@writefile{nav}{\headcommand {\beamer@sectionpages {1}{26}}}
75\@writefile{nav}{\headcommand {\beamer@documentpages {26}}}
76\@writefile{nav}{\headcommand {\gdef \inserttotalframenumber {26}}}
diff --git a/src/Lecture4/slides/6-PythonIntroduction.log b/src/Lecture4/slides/6-PythonIntroduction.log
new file mode 100644
index 0000000..7f499c9
--- /dev/null
+++ b/src/Lecture4/slides/6-PythonIntroduction.log
@@ -0,0 +1,1283 @@
1This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian) (preloaded format=pdflatex 2021.5.20) 25 MAY 2021 16:16
2entering extended mode
3 \write18 enabled.
4 %&-line parsing enabled.
5**6-PythonIntroduction.tex
6(./6-PythonIntroduction.tex
7LaTeX2e <2020-02-02> patch level 2
8L3 programming layer <2020-02-14>
9(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamer.cls
10Document Class: beamer 2019/09/29 v3.57 A class for typesetting presentations
11(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasemodes.sty
12(/usr/share/texlive/texmf-dist/tex/latex/etoolbox/etoolbox.sty
13Package: etoolbox 2019/09/21 v2.5h e-TeX tools for LaTeX (JAW)
14\etb@tempcnta=\count167
15)
16\beamer@tempbox=\box45
17\beamer@tempcount=\count168
18\c@beamerpauses=\count169
19
20(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasedecode.sty
21\beamer@slideinframe=\count170
22\beamer@minimum=\count171
23\beamer@decode@box=\box46
24)
25\beamer@commentbox=\box47
26\beamer@modecount=\count172
27)
28(/usr/share/texlive/texmf-dist/tex/generic/iftex/ifpdf.sty
29Package: ifpdf 2019/10/25 v3.4 ifpdf legacy package. Use iftex instead.
30
31(/usr/share/texlive/texmf-dist/tex/generic/iftex/iftex.sty
32Package: iftex 2019/11/07 v1.0c TeX engine tests
33))
34\headdp=\dimen134
35\footheight=\dimen135
36\sidebarheight=\dimen136
37\beamer@tempdim=\dimen137
38\beamer@finalheight=\dimen138
39\beamer@animht=\dimen139
40\beamer@animdp=\dimen140
41\beamer@animwd=\dimen141
42\beamer@leftmargin=\dimen142
43\beamer@rightmargin=\dimen143
44\beamer@leftsidebar=\dimen144
45\beamer@rightsidebar=\dimen145
46\beamer@boxsize=\dimen146
47\beamer@vboxoffset=\dimen147
48\beamer@descdefault=\dimen148
49\beamer@descriptionwidth=\dimen149
50\beamer@lastskip=\skip47
51\beamer@areabox=\box48
52\beamer@animcurrent=\box49
53\beamer@animshowbox=\box50
54\beamer@sectionbox=\box51
55\beamer@logobox=\box52
56\beamer@linebox=\box53
57\beamer@sectioncount=\count173
58\beamer@subsubsectionmax=\count174
59\beamer@subsectionmax=\count175
60\beamer@sectionmax=\count176
61\beamer@totalheads=\count177
62\beamer@headcounter=\count178
63\beamer@partstartpage=\count179
64\beamer@sectionstartpage=\count180
65\beamer@subsectionstartpage=\count181
66\beamer@animationtempa=\count182
67\beamer@animationtempb=\count183
68\beamer@xpos=\count184
69\beamer@ypos=\count185
70\beamer@ypos@offset=\count186
71\beamer@showpartnumber=\count187
72\beamer@currentsubsection=\count188
73\beamer@coveringdepth=\count189
74\beamer@sectionadjust=\count190
75\beamer@tocsectionnumber=\count191
76
77(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbaseoptions.sty
78(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty
79Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
80\KV@toks@=\toks14
81))
82\beamer@paperwidth=\skip48
83\beamer@paperheight=\skip49
84
85(/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty
86Package: geometry 2020/01/02 v5.9 Page Geometry
87
88(/usr/share/texlive/texmf-dist/tex/generic/iftex/ifvtex.sty
89Package: ifvtex 2019/10/25 v1.7 ifvtex legacy package. Use iftex instead.
90)
91\Gm@cnth=\count192
92\Gm@cntv=\count193
93\c@Gm@tempcnt=\count194
94\Gm@bindingoffset=\dimen150
95\Gm@wd@mp=\dimen151
96\Gm@odd@mp=\dimen152
97\Gm@even@mp=\dimen153
98\Gm@layoutwidth=\dimen154
99\Gm@layoutheight=\dimen155
100\Gm@layouthoffset=\dimen156
101\Gm@layoutvoffset=\dimen157
102\Gm@dimlist=\toks15
103)
104(/usr/share/texlive/texmf-dist/tex/latex/base/size11.clo
105File: size11.clo 2019/12/20 v1.4l Standard LaTeX file (size option)
106)
107(/usr/share/texlive/texmf-dist/tex/latex/pgf/basiclayer/pgfcore.sty
108(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
109Package: graphicx 2019/11/30 v1.2a Enhanced LaTeX Graphics (DPC,SPQR)
110
111(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
112Package: graphics 2019/11/30 v1.4a Standard LaTeX Graphics (DPC,SPQR)
113
114(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty
115Package: trig 2016/01/03 v1.10 sin cos tan (DPC)
116)
117(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg
118File: graphics.cfg 2016/06/04 v1.11 sample graphics configuration
119)
120Package graphics Info: Driver file: pdftex.def on input line 105.
121
122(/usr/share/texlive/texmf-dist/tex/latex/graphics-def/pdftex.def
123File: pdftex.def 2018/01/08 v1.0l Graphics/color driver for pdftex
124))
125\Gin@req@height=\dimen158
126\Gin@req@width=\dimen159
127)
128(/usr/share/texlive/texmf-dist/tex/latex/pgf/systemlayer/pgfsys.sty
129(/usr/share/texlive/texmf-dist/tex/latex/pgf/utilities/pgfrcs.sty
130(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.tex
131\pgfutil@everybye=\toks16
132\pgfutil@tempdima=\dimen160
133\pgfutil@tempdimb=\dimen161
134
135(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfutil-common-lists.t
136ex)) (/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfutil-latex.def
137\pgfutil@abb=\box54
138(/usr/share/texlive/texmf-dist/tex/latex/ms/everyshi.sty
139Package: everyshi 2001/05/15 v3.00 EveryShipout Package (MS)
140))
141(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex
142(/usr/share/texlive/texmf-dist/tex/generic/pgf/pgf.revision.tex)
143Package: pgfrcs 2020/01/08 v3.1.5b (3.1.5b)
144))
145(/usr/share/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex
146Package: pgfsys 2020/01/08 v3.1.5b (3.1.5b)
147
148(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
149\pgfkeys@pathtoks=\toks17
150\pgfkeys@temptoks=\toks18
151
152(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.code.t
153ex
154\pgfkeys@tmptoks=\toks19
155))
156\pgf@x=\dimen162
157\pgf@y=\dimen163
158\pgf@xa=\dimen164
159\pgf@ya=\dimen165
160\pgf@xb=\dimen166
161\pgf@yb=\dimen167
162\pgf@xc=\dimen168
163\pgf@yc=\dimen169
164\pgf@xd=\dimen170
165\pgf@yd=\dimen171
166\w@pgf@writea=\write3
167\r@pgf@reada=\read2
168\c@pgf@counta=\count195
169\c@pgf@countb=\count196
170\c@pgf@countc=\count197
171\c@pgf@countd=\count198
172\t@pgf@toka=\toks20
173\t@pgf@tokb=\toks21
174\t@pgf@tokc=\toks22
175\pgf@sys@id@count=\count199
176 (/usr/share/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgf.cfg
177File: pgf.cfg 2020/01/08 v3.1.5b (3.1.5b)
178)
179Driver file for pgf: pgfsys-pdftex.def
180
181(/usr/share/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-pdftex.def
182File: pgfsys-pdftex.def 2020/01/08 v3.1.5b (3.1.5b)
183
184(/usr/share/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-pdf.de
185f
186File: pgfsys-common-pdf.def 2020/01/08 v3.1.5b (3.1.5b)
187)))
188(/usr/share/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.
189tex
190File: pgfsyssoftpath.code.tex 2020/01/08 v3.1.5b (3.1.5b)
191\pgfsyssoftpath@smallbuffer@items=\count266
192\pgfsyssoftpath@bigbuffer@items=\count267
193)
194(/usr/share/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgfsysprotocol.code.
195tex
196File: pgfsysprotocol.code.tex 2020/01/08 v3.1.5b (3.1.5b)
197)) (/usr/share/texlive/texmf-dist/tex/latex/xcolor/xcolor.sty
198Package: xcolor 2016/05/11 v2.12 LaTeX color extensions (UK)
199
200(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg
201File: color.cfg 2016/01/02 v1.6 sample color configuration
202)
203Package xcolor Info: Driver file: pdftex.def on input line 225.
204Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1348.
205Package xcolor Info: Model `hsb' substituted by `rgb' on input line 1352.
206Package xcolor Info: Model `RGB' extended on input line 1364.
207Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1366.
208Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1367.
209Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1368.
210Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1369.
211Package xcolor Info: Model `Gray' substituted by `gray' on input line 1370.
212Package xcolor Info: Model `wave' substituted by `hsb' on input line 1371.
213)
214(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcore.code.tex
215Package: pgfcore 2020/01/08 v3.1.5b (3.1.5b)
216
217(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex
218(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathcalc.code.tex
219(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathutil.code.tex)
220(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathparser.code.tex
221\pgfmath@dimen=\dimen172
222\pgfmath@count=\count268
223\pgfmath@box=\box55
224\pgfmath@toks=\toks23
225\pgfmath@stack@operand=\toks24
226\pgfmath@stack@operation=\toks25
227)
228(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.code.tex
229(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.basic.code
230.tex)
231(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.trigonomet
232ric.code.tex)
233(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.random.cod
234e.tex)
235(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.comparison
236.code.tex)
237(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.base.code.
238tex)
239(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.round.code
240.tex)
241(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.misc.code.
242tex)
243(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.integerari
244thmetics.code.tex)))
245(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.tex
246\c@pgfmathroundto@lastzeros=\count269
247))
248(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfint.code.tex)
249(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepoints.code.te
250x
251File: pgfcorepoints.code.tex 2020/01/08 v3.1.5b (3.1.5b)
252\pgf@picminx=\dimen173
253\pgf@picmaxx=\dimen174
254\pgf@picminy=\dimen175
255\pgf@picmaxy=\dimen176
256\pgf@pathminx=\dimen177
257\pgf@pathmaxx=\dimen178
258\pgf@pathminy=\dimen179
259\pgf@pathmaxy=\dimen180
260\pgf@xx=\dimen181
261\pgf@xy=\dimen182
262\pgf@yx=\dimen183
263\pgf@yy=\dimen184
264\pgf@zx=\dimen185
265\pgf@zy=\dimen186
266)
267(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathconstruct.
268code.tex
269File: pgfcorepathconstruct.code.tex 2020/01/08 v3.1.5b (3.1.5b)
270\pgf@path@lastx=\dimen187
271\pgf@path@lasty=\dimen188
272)
273(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathusage.code
274.tex
275File: pgfcorepathusage.code.tex 2020/01/08 v3.1.5b (3.1.5b)
276\pgf@shorten@end@additional=\dimen189
277\pgf@shorten@start@additional=\dimen190
278)
279(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorescopes.code.te
280x
281File: pgfcorescopes.code.tex 2020/01/08 v3.1.5b (3.1.5b)
282\pgfpic=\box56
283\pgf@hbox=\box57
284\pgf@layerbox@main=\box58
285\pgf@picture@serial@count=\count270
286)
287(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoregraphicstate.c
288ode.tex
289File: pgfcoregraphicstate.code.tex 2020/01/08 v3.1.5b (3.1.5b)
290\pgflinewidth=\dimen191
291)
292(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransformation
293s.code.tex
294File: pgfcoretransformations.code.tex 2020/01/08 v3.1.5b (3.1.5b)
295\pgf@pt@x=\dimen192
296\pgf@pt@y=\dimen193
297\pgf@pt@temp=\dimen194
298)
299(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorequick.code.tex
300File: pgfcorequick.code.tex 2020/01/08 v3.1.5b (3.1.5b)
301)
302(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreobjects.code.t
303ex
304File: pgfcoreobjects.code.tex 2020/01/08 v3.1.5b (3.1.5b)
305)
306(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathprocessing
307.code.tex
308File: pgfcorepathprocessing.code.tex 2020/01/08 v3.1.5b (3.1.5b)
309)
310(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorearrows.code.te
311x
312File: pgfcorearrows.code.tex 2020/01/08 v3.1.5b (3.1.5b)
313\pgfarrowsep=\dimen195
314)
315(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreshade.code.tex
316File: pgfcoreshade.code.tex 2020/01/08 v3.1.5b (3.1.5b)
317\pgf@max=\dimen196
318\pgf@sys@shading@range@num=\count271
319\pgf@shadingcount=\count272
320)
321(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreimage.code.tex
322File: pgfcoreimage.code.tex 2020/01/08 v3.1.5b (3.1.5b)
323
324(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreexternal.code.
325tex
326File: pgfcoreexternal.code.tex 2020/01/08 v3.1.5b (3.1.5b)
327\pgfexternal@startupbox=\box59
328))
329(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorelayers.code.te
330x
331File: pgfcorelayers.code.tex 2020/01/08 v3.1.5b (3.1.5b)
332)
333(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransparency.c
334ode.tex
335File: pgfcoretransparency.code.tex 2020/01/08 v3.1.5b (3.1.5b)
336)
337(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepatterns.code.
338tex
339File: pgfcorepatterns.code.tex 2020/01/08 v3.1.5b (3.1.5b)
340)
341(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorerdf.code.tex
342File: pgfcorerdf.code.tex 2020/01/08 v3.1.5b (3.1.5b)
343))) (/usr/share/texlive/texmf-dist/tex/latex/pgf/utilities/xxcolor.sty
344Package: xxcolor 2003/10/24 ver 0.1
345\XC@nummixins=\count273
346\XC@countmixins=\count274
347)
348(/usr/share/texlive/texmf-dist/tex/generic/atbegshi/atbegshi.sty
349Package: atbegshi 2019/12/05 v1.19 At begin shipout hook (HO)
350
351(/usr/share/texlive/texmf-dist/tex/generic/infwarerr/infwarerr.sty
352Package: infwarerr 2019/12/03 v1.5 Providing info/warning/error messages (HO)
353)
354(/usr/share/texlive/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty
355Package: ltxcmds 2019/12/15 v1.24 LaTeX kernel commands for general use (HO)
356))
357(/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref.sty
358Package: hyperref 2020/01/14 v7.00d Hypertext links for LaTeX
359
360(/usr/share/texlive/texmf-dist/tex/latex/pdftexcmds/pdftexcmds.sty
361Package: pdftexcmds 2019/11/24 v0.31 Utility functions of pdfTeX for LuaTeX (HO
362)
363Package pdftexcmds Info: \pdf@primitive is available.
364Package pdftexcmds Info: \pdf@ifprimitive is available.
365Package pdftexcmds Info: \pdfdraftmode found.
366)
367(/usr/share/texlive/texmf-dist/tex/generic/kvsetkeys/kvsetkeys.sty
368Package: kvsetkeys 2019/12/15 v1.18 Key value parser (HO)
369)
370(/usr/share/texlive/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty
371Package: kvdefinekeys 2019-12-19 v1.6 Define keys (HO)
372)
373(/usr/share/texlive/texmf-dist/tex/generic/pdfescape/pdfescape.sty
374Package: pdfescape 2019/12/09 v1.15 Implements pdfTeX's escape features (HO)
375)
376(/usr/share/texlive/texmf-dist/tex/latex/hycolor/hycolor.sty
377Package: hycolor 2020-01-27 v1.10 Color options for hyperref/bookmark (HO)
378)
379(/usr/share/texlive/texmf-dist/tex/latex/letltxmacro/letltxmacro.sty
380Package: letltxmacro 2019/12/03 v1.6 Let assignment for LaTeX macros (HO)
381)
382(/usr/share/texlive/texmf-dist/tex/latex/auxhook/auxhook.sty
383Package: auxhook 2019-12-17 v1.6 Hooks for auxiliary files (HO)
384)
385(/usr/share/texlive/texmf-dist/tex/latex/kvoptions/kvoptions.sty
386Package: kvoptions 2019/11/29 v3.13 Key value format for package options (HO)
387)
388\@linkdim=\dimen197
389\Hy@linkcounter=\count275
390\Hy@pagecounter=\count276
391
392(/usr/share/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def
393File: pd1enc.def 2020/01/14 v7.00d Hyperref: PDFDocEncoding definition (HO)
394Now handling font encoding PD1 ...
395... no UTF-8 mapping file for font encoding PD1
396)
397(/usr/share/texlive/texmf-dist/tex/generic/intcalc/intcalc.sty
398Package: intcalc 2019/12/15 v1.3 Expandable calculations with integers (HO)
399)
400(/usr/share/texlive/texmf-dist/tex/generic/etexcmds/etexcmds.sty
401Package: etexcmds 2019/12/15 v1.7 Avoid name clashes with e-TeX commands (HO)
402)
403\Hy@SavedSpaceFactor=\count277
404\pdfmajorversion=\count278
405Package hyperref Info: Option `bookmarks' set `true' on input line 4421.
406Package hyperref Info: Option `bookmarksopen' set `true' on input line 4421.
407Package hyperref Info: Option `implicit' set `false' on input line 4421.
408Package hyperref Info: Hyper figures OFF on input line 4547.
409Package hyperref Info: Link nesting OFF on input line 4552.
410Package hyperref Info: Hyper index ON on input line 4555.
411Package hyperref Info: Plain pages OFF on input line 4562.
412Package hyperref Info: Backreferencing OFF on input line 4567.
413Package hyperref Info: Implicit mode OFF; no redefinition of LaTeX internals.
414Package hyperref Info: Bookmarks ON on input line 4800.
415\c@Hy@tempcnt=\count279
416
417(/usr/share/texlive/texmf-dist/tex/latex/url/url.sty
418\Urlmuskip=\muskip16
419Package: url 2013/09/16 ver 3.4 Verb mode for urls, etc.
420)
421LaTeX Info: Redefining \url on input line 5159.
422\XeTeXLinkMargin=\dimen198
423
424(/usr/share/texlive/texmf-dist/tex/generic/bitset/bitset.sty
425Package: bitset 2019/12/09 v1.3 Handle bit-vector datatype (HO)
426
427(/usr/share/texlive/texmf-dist/tex/generic/bigintcalc/bigintcalc.sty
428Package: bigintcalc 2019/12/15 v1.5 Expandable calculations on big integers (HO
429)
430))
431\Fld@menulength=\count280
432\Field@Width=\dimen199
433\Fld@charsize=\dimen256
434Package hyperref Info: Hyper figures OFF on input line 6430.
435Package hyperref Info: Link nesting OFF on input line 6435.
436Package hyperref Info: Hyper index ON on input line 6438.
437Package hyperref Info: backreferencing OFF on input line 6445.
438Package hyperref Info: Link coloring OFF on input line 6450.
439Package hyperref Info: Link coloring with OCG OFF on input line 6455.
440Package hyperref Info: PDF/A mode OFF on input line 6460.
441LaTeX Info: Redefining \ref on input line 6500.
442LaTeX Info: Redefining \pageref on input line 6504.
443\Hy@abspage=\count281
444
445
446Package hyperref Message: Stopped early.
447
448)
449Package hyperref Info: Driver (autodetected): hpdftex.
450 (/usr/share/texlive/texmf-dist/tex/latex/hyperref/hpdftex.def
451File: hpdftex.def 2020/01/14 v7.00d Hyperref driver for pdfTeX
452
453(/usr/share/texlive/texmf-dist/tex/latex/atveryend/atveryend.sty
454Package: atveryend 2019-12-11 v1.11 Hooks at the very end of document (HO)
455)
456\Fld@listcount=\count282
457\c@bookmark@seq@number=\count283
458
459(/usr/share/texlive/texmf-dist/tex/latex/rerunfilecheck/rerunfilecheck.sty
460Package: rerunfilecheck 2019/12/05 v1.9 Rerun checks for auxiliary files (HO)
461
462(/usr/share/texlive/texmf-dist/tex/generic/uniquecounter/uniquecounter.sty
463Package: uniquecounter 2019/12/15 v1.4 Provide unlimited unique counter (HO)
464)
465Package uniquecounter Info: New unique counter `rerunfilecheck' on input line 2
46686.
467))
468(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbaserequires.sty
469(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasecompatibility.sty)
470(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasefont.sty
471(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amssymb.sty
472Package: amssymb 2013/01/14 v3.01 AMS font symbols
473
474(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty
475Package: amsfonts 2013/01/14 v3.01 Basic AMSFonts support
476\@emptytoks=\toks26
477\symAMSa=\mathgroup4
478\symAMSb=\mathgroup5
479LaTeX Font Info: Redeclaring math symbol \hbar on input line 98.
480LaTeX Font Info: Overwriting math alphabet `\mathfrak' in version `bold'
481(Font) U/euf/m/n --> U/euf/b/n on input line 106.
482))
483(/usr/share/texlive/texmf-dist/tex/latex/sansmathaccent/sansmathaccent.sty
484Package: sansmathaccent 2020/01/31
485
486(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrlfile.sty
487Package: scrlfile 2020/01/24 v3.29 KOMA-Script package (loading files)
488)))
489(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasetranslator.sty
490(/usr/share/texlive/texmf-dist/tex/latex/translator/translator.sty
491Package: translator 2019-05-31 v1.12a Easy translation of strings in LaTeX
492))
493(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasemisc.sty)
494(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasetwoscreens.sty)
495(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbaseoverlay.sty
496\beamer@argscount=\count284
497\beamer@lastskipcover=\skip50
498\beamer@trivlistdepth=\count285
499)
500(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasetitle.sty)
501(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasesection.sty
502\c@lecture=\count286
503\c@part=\count287
504\c@section=\count288
505\c@subsection=\count289
506\c@subsubsection=\count290
507)
508(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbaseframe.sty
509\beamer@framebox=\box60
510\beamer@frametitlebox=\box61
511\beamer@zoombox=\box62
512\beamer@zoomcount=\count291
513\beamer@zoomframecount=\count292
514\beamer@frametextheight=\dimen257
515\c@subsectionslide=\count293
516\beamer@frametopskip=\skip51
517\beamer@framebottomskip=\skip52
518\beamer@frametopskipautobreak=\skip53
519\beamer@framebottomskipautobreak=\skip54
520\beamer@envbody=\toks27
521\framewidth=\dimen258
522\c@framenumber=\count294
523)
524(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbaseverbatim.sty
525\beamer@verbatimfileout=\write4
526)
527(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbaseframesize.sty
528\beamer@splitbox=\box63
529\beamer@autobreakcount=\count295
530\beamer@autobreaklastheight=\dimen259
531\beamer@frametitletoks=\toks28
532\beamer@framesubtitletoks=\toks29
533)
534(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbaseframecomponents.sty
535\beamer@footins=\box64
536)
537(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasecolor.sty)
538(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasenotes.sty
539\beamer@frameboxcopy=\box65
540)
541(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasetoc.sty)
542(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasetemplates.sty
543\beamer@sbttoks=\toks30
544
545(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbaseauxtemplates.sty
546(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbaseboxes.sty
547\bmb@box=\box66
548\bmb@colorbox=\box67
549\bmb@boxshadow=\box68
550\bmb@boxshadowball=\box69
551\bmb@boxshadowballlarge=\box70
552\bmb@temp=\dimen260
553\bmb@dima=\dimen261
554\bmb@dimb=\dimen262
555\bmb@prevheight=\dimen263
556)
557\beamer@blockheadheight=\dimen264
558))
559(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty
560(/usr/share/texlive/texmf-dist/tex/latex/tools/enumerate.sty
561Package: enumerate 2015/07/23 v3.00 enumerate extensions (DPC)
562\@enLab=\toks31
563)
564\c@figure=\count296
565\c@table=\count297
566\abovecaptionskip=\skip55
567\belowcaptionskip=\skip56
568)
569(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasenavigation.sty
570\beamer@section@min@dim=\dimen265
571)
572(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasetheorems.sty
573(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty
574Package: amsmath 2020/01/20 v2.17e AMS math features
575\@mathmargin=\skip57
576
577For additional information on amsmath, use the `?' option.
578(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty
579Package: amstext 2000/06/29 v2.01 AMS text
580
581(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty
582File: amsgen.sty 1999/11/30 v2.0 generic functions
583\@emptytoks=\toks32
584\ex@=\dimen266
585))
586(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty
587Package: amsbsy 1999/11/29 v1.2d Bold Symbols
588\pmbraise@=\dimen267
589)
590(/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty
591Package: amsopn 2016/03/08 v2.02 operator names
592)
593\inf@bad=\count298
594LaTeX Info: Redefining \frac on input line 227.
595\uproot@=\count299
596\leftroot@=\count300
597LaTeX Info: Redefining \overline on input line 389.
598\classnum@=\count301
599\DOTSCASE@=\count302
600LaTeX Info: Redefining \ldots on input line 486.
601LaTeX Info: Redefining \dots on input line 489.
602LaTeX Info: Redefining \cdots on input line 610.
603\Mathstrutbox@=\box71
604\strutbox@=\box72
605\big@size=\dimen268
606LaTeX Font Info: Redeclaring font encoding OML on input line 733.
607LaTeX Font Info: Redeclaring font encoding OMS on input line 734.
608\macc@depth=\count303
609\c@MaxMatrixCols=\count304
610\dotsspace@=\muskip17
611\c@parentequation=\count305
612\dspbrk@lvl=\count306
613\tag@help=\toks33
614\row@=\count307
615\column@=\count308
616\maxfields@=\count309
617\andhelp@=\toks34
618\eqnshift@=\dimen269
619\alignsep@=\dimen270
620\tagshift@=\dimen271
621\tagwidth@=\dimen272
622\totwidth@=\dimen273
623\lineht@=\dimen274
624\@envbody=\toks35
625\multlinegap=\skip58
626\multlinetaggap=\skip59
627\mathdisplay@stack=\toks36
628LaTeX Info: Redefining \[ on input line 2859.
629LaTeX Info: Redefining \] on input line 2860.
630)
631(/usr/share/texlive/texmf-dist/tex/latex/amscls/amsthm.sty
632Package: amsthm 2017/10/31 v2.20.4
633\thm@style=\toks37
634\thm@bodyfont=\toks38
635\thm@headfont=\toks39
636\thm@notefont=\toks40
637\thm@headpunct=\toks41
638\thm@preskip=\skip60
639\thm@postskip=\skip61
640\thm@headsep=\skip62
641\dth@everypar=\toks42
642)
643\c@theorem=\count310
644)
645(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerbasethemes.sty))
646(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerthemedefault.sty
647(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerfontthemedefault.sty)
648(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamercolorthemedefault.sty)
649(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerinnerthemedefault.sty
650\beamer@dima=\dimen275
651\beamer@dimb=\dimen276
652)
653(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerouterthemedefault.sty)))
654(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerthemeMadrid.sty
655(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamercolorthemewhale.sty)
656(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamercolorthemeorchid.sty)
657(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerinnerthemerounded.sty)
658(/usr/share/texlive/texmf-dist/tex/latex/beamer/beamerouterthemeinfolines.sty))
659(/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty
660Package: inputenc 2018/08/11 v1.3c Input encoding file
661\inpenc@prehook=\toks43
662\inpenc@posthook=\toks44
663)
664(/usr/share/texlive/texmf-dist/tex/latex/pgf/frontendlayer/tikz.sty
665(/usr/share/texlive/texmf-dist/tex/latex/pgf/basiclayer/pgf.sty
666Package: pgf 2020/01/08 v3.1.5b (3.1.5b)
667
668(/usr/share/texlive/texmf-dist/tex/generic/pgf/modules/pgfmoduleshapes.code.tex
669File: pgfmoduleshapes.code.tex 2020/01/08 v3.1.5b (3.1.5b)
670\pgfnodeparttextbox=\box73
671) (/usr/share/texlive/texmf-dist/tex/generic/pgf/modules/pgfmoduleplot.code.tex
672File: pgfmoduleplot.code.tex 2020/01/08 v3.1.5b (3.1.5b)
673)
674(/usr/share/texlive/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version-0-65
675.sty
676Package: pgfcomp-version-0-65 2020/01/08 v3.1.5b (3.1.5b)
677\pgf@nodesepstart=\dimen277
678\pgf@nodesepend=\dimen278
679)
680(/usr/share/texlive/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version-1-18
681.sty
682Package: pgfcomp-version-1-18 2020/01/08 v3.1.5b (3.1.5b)
683)) (/usr/share/texlive/texmf-dist/tex/latex/pgf/utilities/pgffor.sty
684(/usr/share/texlive/texmf-dist/tex/latex/pgf/utilities/pgfkeys.sty
685(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex))
686(/usr/share/texlive/texmf-dist/tex/latex/pgf/math/pgfmath.sty
687(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex))
688(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgffor.code.tex
689Package: pgffor 2020/01/08 v3.1.5b (3.1.5b)
690
691(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex)
692\pgffor@iter=\dimen279
693\pgffor@skip=\dimen280
694\pgffor@stack=\toks45
695\pgffor@toks=\toks46
696))
697(/usr/share/texlive/texmf-dist/tex/generic/pgf/frontendlayer/tikz/tikz.code.tex
698Package: tikz 2020/01/08 v3.1.5b (3.1.5b)
699
700(/usr/share/texlive/texmf-dist/tex/generic/pgf/libraries/pgflibraryplothandlers
701.code.tex
702File: pgflibraryplothandlers.code.tex 2020/01/08 v3.1.5b (3.1.5b)
703\pgf@plot@mark@count=\count311
704\pgfplotmarksize=\dimen281
705)
706\tikz@lastx=\dimen282
707\tikz@lasty=\dimen283
708\tikz@lastxsaved=\dimen284
709\tikz@lastysaved=\dimen285
710\tikz@lastmovetox=\dimen286
711\tikz@lastmovetoy=\dimen287
712\tikzleveldistance=\dimen288
713\tikzsiblingdistance=\dimen289
714\tikz@figbox=\box74
715\tikz@figbox@bg=\box75
716\tikz@tempbox=\box76
717\tikz@tempbox@bg=\box77
718\tikztreelevel=\count312
719\tikznumberofchildren=\count313
720\tikznumberofcurrentchild=\count314
721\tikz@fig@count=\count315
722
723(/usr/share/texlive/texmf-dist/tex/generic/pgf/modules/pgfmodulematrix.code.tex
724File: pgfmodulematrix.code.tex 2020/01/08 v3.1.5b (3.1.5b)
725\pgfmatrixcurrentrow=\count316
726\pgfmatrixcurrentcolumn=\count317
727\pgf@matrix@numberofcolumns=\count318
728)
729\tikz@expandcount=\count319
730
731(/usr/share/texlive/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tik
732zlibrarytopaths.code.tex
733File: tikzlibrarytopaths.code.tex 2020/01/08 v3.1.5b (3.1.5b)
734)))
735(/usr/share/texlive/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tik
736zlibrarycalc.code.tex
737File: tikzlibrarycalc.code.tex 2020/01/08 v3.1.5b (3.1.5b)
738) (/usr/share/texlive/texmf-dist/tex/latex/svg/svg.sty
739Package: svg 2020/01/13 v2.02e (include SVG pictures)
740
741(/usr/share/texlive/texmf-dist/tex/latex/koma-script/scrbase.sty
742Package: scrbase 2020/01/24 v3.29 KOMA-Script package (KOMA-Script-independent
743basics and keyval usage)
744)
745(/usr/share/texlive/texmf-dist/tex/latex/tools/shellesc.sty
746Package: shellesc 2019/11/08 v1.0c unified shell escape interface for LaTeX
747Package shellesc Info: Unrestricted shell escape enabled on input line 75.
748)
749(/usr/share/texlive/texmf-dist/tex/latex/trimspaces/trimspaces.sty
750Package: trimspaces 2009/09/17 v1.1 Trim spaces around a token list
751)
752\svg@box=\box78
753\c@svg@param@lastpage=\count320
754\c@svg@param@currpage=\count321
755
756(/usr/share/texlive/texmf-dist/tex/latex/ifplatform/ifplatform.sty
757Package: ifplatform 2017/10/13 v0.4a Testing for the operating system
758
759(/usr/share/texlive/texmf-dist/tex/generic/catchfile/catchfile.sty
760Package: catchfile 2019/12/09 v1.8 Catch the contents of a file (HO)
761)
762(/usr/share/texlive/texmf-dist/tex/generic/iftex/ifluatex.sty
763Package: ifluatex 2019/10/25 v1.5 ifluatex legacy package. Use iftex instead.
764)
765runsystem(uname -s > "6-PythonIntroduction.w18")...executed.
766
767
768(./6-PythonIntroduction.w18)
769runsystem(rm -- "6-PythonIntroduction.w18")...executed.
770
771))
772(/usr/share/texlive/texmf-dist/tex/latex/transparent/transparent.sty
773Package: transparent 2019/11/29 v1.4 Transparency via pdfTeX's color stack (HO)
774
775)
776(/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-pdfmode.def
777File: l3backend-pdfmode.def 2020-02-03 L3 backend support: PDF mode
778\l__kernel_color_stack_int=\count322
779\l__pdf_internal_box=\box79
780)
781(./6-PythonIntroduction.aux)
782\openout1 = `6-PythonIntroduction.aux'.
783
784LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 18.
785LaTeX Font Info: ... okay on input line 18.
786LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 18.
787LaTeX Font Info: ... okay on input line 18.
788LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 18.
789LaTeX Font Info: ... okay on input line 18.
790LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 18.
791LaTeX Font Info: ... okay on input line 18.
792LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 18.
793LaTeX Font Info: ... okay on input line 18.
794LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 18.
795LaTeX Font Info: ... okay on input line 18.
796LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 18.
797LaTeX Font Info: ... okay on input line 18.
798LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 18.
799LaTeX Font Info: ... okay on input line 18.
800
801*geometry* driver: auto-detecting
802*geometry* detected driver: pdftex
803*geometry* verbose mode - [ preamble ] result:
804* driver: pdftex
805* paper: custom
806* layout: <same size as paper>
807* layoutoffset:(h,v)=(0.0pt,0.0pt)
808* modes: includehead includefoot
809* h-part:(L,W,R)=(10.95003pt, 342.2953pt, 10.95003pt)
810* v-part:(T,H,B)=(0.0pt, 273.14662pt, 0.0pt)
811* \paperwidth=364.19536pt
812* \paperheight=273.14662pt
813* \textwidth=342.2953pt
814* \textheight=244.6939pt
815* \oddsidemargin=-61.31996pt
816* \evensidemargin=-61.31996pt
817* \topmargin=-72.26999pt
818* \headheight=14.22636pt
819* \headsep=0.0pt
820* \topskip=11.0pt
821* \footskip=14.22636pt
822* \marginparwidth=4.0pt
823* \marginparsep=10.0pt
824* \columnsep=10.0pt
825* \skip\footins=10.0pt plus 4.0pt minus 2.0pt
826* \hoffset=0.0pt
827* \voffset=0.0pt
828* \mag=1000
829* \@twocolumnfalse
830* \@twosidefalse
831* \@mparswitchfalse
832* \@reversemarginfalse
833* (1in=72.27pt=25.4mm, 1cm=28.453pt)
834
835(/usr/share/texlive/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
836[Loading MPS to PDF converter (version 2006.09.02).]
837\scratchcounter=\count323
838\scratchdimen=\dimen290
839\scratchbox=\box80
840\nofMPsegments=\count324
841\nofMParguments=\count325
842\everyMPshowfont=\toks47
843\MPscratchCnt=\count326
844\MPscratchDim=\dimen291
845\MPnumerator=\count327
846\makeMPintoPDFobject=\count328
847\everyMPtoPDFconversion=\toks48
848) (/usr/share/texlive/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty
849Package: epstopdf-base 2020-01-24 v2.11 Base part for package epstopdf
850Package epstopdf-base Info: Redefining graphics rule for `.eps' on input line 4
85185.
852
853(/usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg
854File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Liv
855e
856))
857ABD: EveryShipout initializing macros
858\AtBeginShipoutBox=\box81
859Package hyperref Info: Link coloring OFF on input line 18.
860
861(/usr/share/texlive/texmf-dist/tex/latex/hyperref/nameref.sty
862Package: nameref 2019/09/16 v2.46 Cross-referencing by name of section
863
864(/usr/share/texlive/texmf-dist/tex/latex/refcount/refcount.sty
865Package: refcount 2019/12/15 v3.6 Data extraction from label references (HO)
866)
867(/usr/share/texlive/texmf-dist/tex/generic/gettitlestring/gettitlestring.sty
868Package: gettitlestring 2019/12/15 v1.6 Cleanup title references (HO)
869)
870\c@section@level=\count329
871)
872LaTeX Info: Redefining \ref on input line 18.
873LaTeX Info: Redefining \pageref on input line 18.
874LaTeX Info: Redefining \nameref on input line 18.
875
876(./6-PythonIntroduction.out) (./6-PythonIntroduction.out)
877\@outlinefile=\write5
878\openout5 = `6-PythonIntroduction.out'.
879
880LaTeX Font Info: Overwriting symbol font `operators' in version `normal'
881(Font) OT1/cmr/m/n --> OT1/cmss/m/n on input line 18.
882LaTeX Font Info: Overwriting symbol font `operators' in version `bold'
883(Font) OT1/cmr/bx/n --> OT1/cmss/b/n on input line 18.
884\symnumbers=\mathgroup6
885\sympureletters=\mathgroup7
886LaTeX Font Info: Overwriting math alphabet `\mathrm' in version `normal'
887(Font) OT1/cmss/m/n --> OT1/cmr/m/n on input line 18.
888LaTeX Font Info: Redeclaring math alphabet \mathbf on input line 18.
889LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `normal'
890(Font) OT1/cmr/bx/n --> OT1/cmss/b/n on input line 18.
891LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `bold'
892(Font) OT1/cmr/bx/n --> OT1/cmss/b/n on input line 18.
893LaTeX Font Info: Redeclaring math alphabet \mathsf on input line 18.
894LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `normal'
895(Font) OT1/cmss/m/n --> OT1/cmss/m/n on input line 18.
896LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `bold'
897(Font) OT1/cmss/bx/n --> OT1/cmss/m/n on input line 18.
898LaTeX Font Info: Redeclaring math alphabet \mathit on input line 18.
899LaTeX Font Info: Overwriting math alphabet `\mathit' in version `normal'
900(Font) OT1/cmr/m/it --> OT1/cmss/m/it on input line 18.
901LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold'
902(Font) OT1/cmr/bx/it --> OT1/cmss/m/it on input line 18.
903LaTeX Font Info: Redeclaring math alphabet \mathtt on input line 18.
904LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `normal'
905(Font) OT1/cmtt/m/n --> OT1/cmtt/m/n on input line 18.
906LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `bold'
907(Font) OT1/cmtt/m/n --> OT1/cmtt/m/n on input line 18.
908LaTeX Font Info: Overwriting symbol font `numbers' in version `bold'
909(Font) OT1/cmss/m/n --> OT1/cmss/b/n on input line 18.
910LaTeX Font Info: Overwriting symbol font `pureletters' in version `bold'
911(Font) OT1/cmss/m/it --> OT1/cmss/b/it on input line 18.
912LaTeX Font Info: Overwriting math alphabet `\mathrm' in version `bold'
913(Font) OT1/cmss/b/n --> OT1/cmr/b/n on input line 18.
914LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `bold'
915(Font) OT1/cmss/b/n --> OT1/cmss/b/n on input line 18.
916LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `bold'
917(Font) OT1/cmss/m/n --> OT1/cmss/b/n on input line 18.
918LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold'
919(Font) OT1/cmss/m/it --> OT1/cmss/b/it on input line 18.
920LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `bold'
921(Font) OT1/cmtt/m/n --> OT1/cmtt/b/n on input line 18.
922LaTeX Font Info: Redeclaring symbol font `pureletters' on input line 18.
923LaTeX Font Info: Overwriting symbol font `pureletters' in version `normal'
924(Font) OT1/cmss/m/it --> OT1/mathkerncmss/m/sl on input line 1
9258.
926LaTeX Font Info: Overwriting symbol font `pureletters' in version `bold'
927(Font) OT1/cmss/b/it --> OT1/mathkerncmss/m/sl on input line 1
9288.
929LaTeX Font Info: Overwriting symbol font `pureletters' in version `bold'
930(Font) OT1/mathkerncmss/m/sl --> OT1/mathkerncmss/bx/sl on inp
931ut line 18.
932
933(/usr/share/texlive/texmf-dist/tex/latex/translator/translator-basic-dictionary
934-English.dict
935Dictionary: translator-basic-dictionary, Language: English
936)
937(/usr/share/texlive/texmf-dist/tex/latex/translator/translator-bibliography-dic
938tionary-English.dict
939Dictionary: translator-bibliography-dictionary, Language: English
940)
941(/usr/share/texlive/texmf-dist/tex/latex/translator/translator-environment-dict
942ionary-English.dict
943Dictionary: translator-environment-dictionary, Language: English
944)
945(/usr/share/texlive/texmf-dist/tex/latex/translator/translator-months-dictionar
946y-English.dict
947Dictionary: translator-months-dictionary, Language: English
948)
949(/usr/share/texlive/texmf-dist/tex/latex/translator/translator-numbers-dictiona
950ry-English.dict
951Dictionary: translator-numbers-dictionary, Language: English
952)
953(/usr/share/texlive/texmf-dist/tex/latex/translator/translator-theorem-dictiona
954ry-English.dict
955Dictionary: translator-theorem-dictionary, Language: English
956) (./6-PythonIntroduction.nav)
957<img/unilu.jpg, id=20, 645.16031pt x 578.16pt>
958File: img/unilu.jpg Graphic file (type jpg)
959<use img/unilu.jpg>
960Package pdftex.def Info: img/unilu.jpg used on input line 22.
961(pdftex.def) Requested size: 64.5198pt x 57.81938pt.
962 [1
963
964{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map} <./img/unilu.jpg>]
965LaTeX Font Info: Trying to load font information for U+msa on input line 36.
966
967
968(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsa.fd
969File: umsa.fd 2013/01/14 v3.01 AMS symbols A
970)
971LaTeX Font Info: Trying to load font information for U+msb on input line 36.
972
973
974(/usr/share/texlive/texmf-dist/tex/latex/amsfonts/umsb.fd
975File: umsb.fd 2013/01/14 v3.01 AMS symbols B
976)
977LaTeX Font Info: Trying to load font information for OT1+mathkerncmss on inp
978ut line 36.
979
980(/usr/share/texlive/texmf-dist/tex/latex/sansmathaccent/ot1mathkerncmss.fd
981File: ot1mathkerncmss.fd 2020/01/31 Fontinst v1.933 font definitions for OT1/ma
982thkerncmss.
983)
984File: img/unilu.jpg Graphic file (type jpg)
985<use img/unilu.jpg>
986Package pdftex.def Info: img/unilu.jpg used on input line 36.
987(pdftex.def) Requested size: 64.5198pt x 57.81938pt.
988
989[2
990
991]
992<img/laptop.png, id=81, 1079.03125pt x 1079.03125pt>
993File: img/laptop.png Graphic file (type png)
994<use img/laptop.png>
995Package pdftex.def Info: img/laptop.png used on input line 54.
996(pdftex.def) Requested size: 129.47816pt x 129.47816pt.
997
998Overfull \hbox (9.67273pt too wide) in paragraph at lines 54--54
999[][]
1000 []
1001
1002<img/equal.png, id=82, 401.5pt x 401.5pt>
1003File: img/equal.png Graphic file (type png)
1004<use img/equal.png>
1005Package pdftex.def Info: img/equal.png used on input line 54.
1006(pdftex.def) Requested size: 48.17792pt x 48.17792pt.
1007
1008Overfull \hbox (13.9463pt too wide) in paragraph at lines 54--54
1009 []
1010 []
1011
1012<img/calc.jpg, id=84, 144.54pt x 144.54pt>
1013File: img/calc.jpg Graphic file (type jpg)
1014<use img/calc.jpg>
1015Package pdftex.def Info: img/calc.jpg used on input line 54.
1016(pdftex.def) Requested size: 130.08478pt x 130.08478pt.
1017
1018Overfull \hbox (10.27934pt too wide) in paragraph at lines 54--54
1019[][]
1020 []
1021
1022File: img/unilu.jpg Graphic file (type jpg)
1023<use img/unilu.jpg>
1024Package pdftex.def Info: img/unilu.jpg used on input line 54.
1025(pdftex.def) Requested size: 64.5198pt x 57.81938pt.
1026[3
1027
1028 <./img/laptop.png> <./img/equal.png> <./img/calc.jpg>]
1029<img/python.png, id=117, 602.25pt x 602.25pt>
1030File: img/python.png Graphic file (type png)
1031<use img/python.png>
1032Package pdftex.def Info: img/python.png used on input line 72.
1033(pdftex.def) Requested size: 96.36195pt x 96.36195pt.
1034
1035Overfull \hbox (10.78813pt too wide) in paragraph at lines 72--72
1036[][]
1037 []
1038
1039File: img/unilu.jpg Graphic file (type jpg)
1040<use img/unilu.jpg>
1041Package pdftex.def Info: img/unilu.jpg used on input line 72.
1042(pdftex.def) Requested size: 64.5198pt x 57.81938pt.
1043[4
1044
1045 <./img/python.png>]
1046<img/term.png, id=147, 860.21375pt x 482.80376pt>
1047File: img/term.png Graphic file (type png)
1048<use img/term.png>
1049Package pdftex.def Info: img/term.png used on input line 78.
1050(pdftex.def) Requested size: 258.06612pt x 144.84224pt.
1051File: img/unilu.jpg Graphic file (type jpg)
1052<use img/unilu.jpg>
1053Package pdftex.def Info: img/unilu.jpg used on input line 78.
1054(pdftex.def) Requested size: 64.5198pt x 57.81938pt.
1055 [5
1056
1057 <./img/term.png>]
1058File: img/unilu.jpg Graphic file (type jpg)
1059<use img/unilu.jpg>
1060Package pdftex.def Info: img/unilu.jpg used on input line 97.
1061(pdftex.def) Requested size: 64.5198pt x 57.81938pt.
1062 [6
1063
1064]
1065File: img/unilu.jpg Graphic file (type jpg)
1066<use img/unilu.jpg>
1067Package pdftex.def Info: img/unilu.jpg used on input line 108.
1068(pdftex.def) Requested size: 64.5198pt x 57.81938pt.
1069 [7
1070
1071]
1072File: img/unilu.jpg Graphic file (type jpg)
1073<use img/unilu.jpg>
1074Package pdftex.def Info: img/unilu.jpg used on input line 119.
1075(pdftex.def) Requested size: 64.5198pt x 57.81938pt.
1076 [8
1077
1078]
1079File: img/unilu.jpg Graphic file (type jpg)
1080<use img/unilu.jpg>
1081Package pdftex.def Info: img/unilu.jpg used on input line 131.
1082(pdftex.def) Requested size: 64.5198pt x 57.81938pt.
1083 [9
1084
1085]
1086File: img/unilu.jpg Graphic file (type jpg)
1087<use img/unilu.jpg>
1088Package pdftex.def Info: img/unilu.jpg used on input line 159.
1089(pdftex.def) Requested size: 64.5198pt x 57.81938pt.
1090 [10
1091
1092]
1093LaTeX Font Info: Trying to load font information for OMS+cmtt on input line
1094175.
1095
1096(/usr/share/texmf/tex/latex/R/tex/latex/omscmtt.fd
1097File: omscmtt.fd
1098)
1099LaTeX Font Info: Font shape `OMS/cmtt/m/n' in size <10.95> not available
1100(Font) Font shape `OMS/cmsy/m/n' tried instead on input line 175.
1101File: img/unilu.jpg Graphic file (type jpg)
1102<use img/unilu.jpg>
1103Package pdftex.def Info: img/unilu.jpg used on input line 175.
1104(pdftex.def) Requested size: 64.5198pt x 57.81938pt.
1105 [11
1106
1107]
1108File: img/unilu.jpg Graphic file (type jpg)
1109<use img/unilu.jpg>
1110Package pdftex.def Info: img/unilu.jpg used on input line 192.
1111(pdftex.def) Requested size: 64.5198pt x 57.81938pt.
1112 [12
1113
1114]
1115File: img/unilu.jpg Graphic file (type jpg)
1116<use img/unilu.jpg>
1117Package pdftex.def Info: img/unilu.jpg used on input line 219.
1118(pdftex.def) Requested size: 64.5198pt x 57.81938pt.
1119 [13
1120
1121]
1122File: img/unilu.jpg Graphic file (type jpg)
1123<use img/unilu.jpg>
1124Package pdftex.def Info: img/unilu.jpg used on input line 231.
1125(pdftex.def) Requested size: 64.5198pt x 57.81938pt.
1126 [14
1127
1128]
1129File: img/unilu.jpg Graphic file (type jpg)
1130<use img/unilu.jpg>
1131Package pdftex.def Info: img/unilu.jpg used on input line 246.
1132(pdftex.def) Requested size: 64.5198pt x 57.81938pt.
1133
1134[15
1135
1136]
1137File: img/unilu.jpg Graphic file (type jpg)
1138<use img/unilu.jpg>
1139Package pdftex.def Info: img/unilu.jpg used on input line 268.
1140(pdftex.def) Requested size: 64.5198pt x 57.81938pt.
1141 [16
1142
1143]
1144<img/geany.png, id=472, 1274.7625pt x 680.5425pt>
1145File: img/geany.png Graphic file (type png)
1146<use img/geany.png>
1147Package pdftex.def Info: img/geany.png used on input line 272.
1148(pdftex.def) Requested size: 318.68985pt x 170.13521pt.
1149File: img/unilu.jpg Graphic file (type jpg)
1150<use img/unilu.jpg>
1151Package pdftex.def Info: img/unilu.jpg used on input line 272.
1152(pdftex.def) Requested size: 64.5198pt x 57.81938pt.
1153 [17
1154
1155 <./img/geany.png>]
1156File: img/unilu.jpg Graphic file (type jpg)
1157<use img/unilu.jpg>
1158Package pdftex.def Info: img/unilu.jpg used on input line 282.
1159(pdftex.def) Requested size: 64.5198pt x 57.81938pt.
1160 [18
1161
1162]
1163\openout4 = `6-PythonIntroduction.vrb'.
1164
1165 (./6-PythonIntroduction.vrb)
1166File: img/unilu.jpg Graphic file (type jpg)
1167<use img/unilu.jpg>
1168Package pdftex.def Info: img/unilu.jpg used on input line 322.
1169(pdftex.def) Requested size: 64.5198pt x 57.81938pt.
1170 [19
1171
1172]
1173\openout4 = `6-PythonIntroduction.vrb'.
1174
1175
1176(./6-PythonIntroduction.vrb)
1177File: img/unilu.jpg Graphic file (type jpg)
1178<use img/unilu.jpg>
1179Package pdftex.def Info: img/unilu.jpg used on input line 357.
1180(pdftex.def) Requested size: 64.5198pt x 57.81938pt.
1181 [20
1182
1183]
1184File: img/unilu.jpg Graphic file (type jpg)
1185<use img/unilu.jpg>
1186Package pdftex.def Info: img/unilu.jpg used on input line 374.
1187(pdftex.def) Requested size: 64.5198pt x 57.81938pt.
1188 [21
1189
1190]
1191File: img/unilu.jpg Graphic file (type jpg)
1192<use img/unilu.jpg>
1193Package pdftex.def Info: img/unilu.jpg used on input line 393.
1194(pdftex.def) Requested size: 64.5198pt x 57.81938pt.
1195 [22
1196
1197]
1198File: img/unilu.jpg Graphic file (type jpg)
1199<use img/unilu.jpg>
1200Package pdftex.def Info: img/unilu.jpg used on input line 413.
1201(pdftex.def) Requested size: 64.5198pt x 57.81938pt.
1202 [23
1203
1204]
1205Package svg Info: Last page of `./svg-inkscape/sage_svg-tex.pdf' is 1 on input
1206line 429.
1207
1208(./svg-inkscape/sage_svg-tex.pdf_tex
1209<./svg-inkscape/sage_svg-tex.pdf, id=660, page=1, 376.40625pt x 98.51555pt>
1210File: ./svg-inkscape/sage_svg-tex.pdf Graphic file (type pdf)
1211<use ./svg-inkscape/sage_svg-tex.pdf, page 1>
1212Package pdftex.def Info: ./svg-inkscape/sage_svg-tex.pdf , page1 used on input
1213line 56.
1214(pdftex.def) Requested size: 188.20313pt x 49.25914pt.
1215)
1216File: img/unilu.jpg Graphic file (type jpg)
1217<use img/unilu.jpg>
1218Package pdftex.def Info: img/unilu.jpg used on input line 429.
1219(pdftex.def) Requested size: 64.5198pt x 57.81938pt.
1220 [24
1221
1222 <./svg-inkscape/sage_svg-tex.pdf>]
1223Overfull \hbox (7.7703pt too wide) in paragraph at lines 452--452
1224[][]
1225 []
1226
1227File: img/unilu.jpg Graphic file (type jpg)
1228<use img/unilu.jpg>
1229Package pdftex.def Info: img/unilu.jpg used on input line 452.
1230(pdftex.def) Requested size: 64.5198pt x 57.81938pt.
1231[25
1232
1233]
1234File: img/unilu.jpg Graphic file (type jpg)
1235<use img/unilu.jpg>
1236Package pdftex.def Info: img/unilu.jpg used on input line 462.
1237(pdftex.def) Requested size: 64.5198pt x 57.81938pt.
1238 [26
1239
1240]
1241\tf@nav=\write6
1242\openout6 = `6-PythonIntroduction.nav'.
1243
1244\tf@toc=\write7
1245\openout7 = `6-PythonIntroduction.toc'.
1246
1247\tf@snm=\write8
1248\openout8 = `6-PythonIntroduction.snm'.
1249
1250Package atveryend Info: Empty hook `BeforeClearDocument' on input line 465.
1251Package atveryend Info: Empty hook `AfterLastShipout' on input line 465.
1252 (./6-PythonIntroduction.aux)
1253Package atveryend Info: Executing hook `AtVeryEndDocument' on input line 465.
1254Package atveryend Info: Executing hook `AtEndAfterFileList' on input line 465.
1255Package rerunfilecheck Info: File `6-PythonIntroduction.out' has not changed.
1256(rerunfilecheck) Checksum: D41D8CD98F00B204E9800998ECF8427E;0.
1257 )
1258Here is how much of TeX's memory you used:
1259 22094 strings out of 481239
1260 437179 string characters out of 5920377
1261 700483 words of memory out of 5000000
1262 36741 multiletter control sequences out of 15000+600000
1263 544835 words of font info for 71 fonts, out of 8000000 for 9000
1264 1141 hyphenation exceptions out of 8191
1265 58i,15n,67p,804b,1064s stack positions out of 5000i,500n,10000p,200000b,80000s
1266</usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmitt10.pfb></u
1267sr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb></usr/sha
1268re/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmss10.pfb></usr/share/tex
1269live/texmf-dist/fonts/type1/public/amsfonts/cm/cmss12.pfb></usr/share/texlive/t
1270exmf-dist/fonts/type1/public/amsfonts/cm/cmss8.pfb></usr/share/texlive/texmf-di
1271st/fonts/type1/public/amsfonts/cm/cmssbx10.pfb></usr/share/texlive/texmf-dist/f
1272onts/type1/public/amsfonts/cm/cmssi10.pfb></usr/share/texlive/texmf-dist/fonts/
1273type1/public/amsfonts/cm/cmsy10.pfb></usr/share/texlive/texmf-dist/fonts/type1/
1274public/amsfonts/cm/cmtt10.pfb></usr/share/texlive/texmf-dist/fonts/type1/public
1275/amsfonts/cm/cmtt12.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfo
1276nts/cm/cmtt8.pfb>
1277Output written on 6-PythonIntroduction.pdf (26 pages, 771892 bytes).
1278PDF statistics:
1279 851 PDF objects out of 1000 (max. 8388607)
1280 762 compressed objects within 8 object streams
1281 53 named destinations out of 1000 (max. 500000)
1282 118 words of extra memory for PDF output out of 10000 (max. 10000000)
1283
diff --git a/src/Lecture4/slides/6-PythonIntroduction.nav b/src/Lecture4/slides/6-PythonIntroduction.nav
new file mode 100644
index 0000000..39da4d7
--- /dev/null
+++ b/src/Lecture4/slides/6-PythonIntroduction.nav
@@ -0,0 +1,57 @@
1\headcommand {\slideentry {0}{0}{1}{1/1}{}{0}}
2\headcommand {\beamer@framepages {1}{1}}
3\headcommand {\slideentry {0}{0}{2}{2/2}{}{0}}
4\headcommand {\beamer@framepages {2}{2}}
5\headcommand {\slideentry {0}{0}{3}{3/3}{}{0}}
6\headcommand {\beamer@framepages {3}{3}}
7\headcommand {\slideentry {0}{0}{4}{4/4}{}{0}}
8\headcommand {\beamer@framepages {4}{4}}
9\headcommand {\slideentry {0}{0}{5}{5/5}{}{0}}
10\headcommand {\beamer@framepages {5}{5}}
11\headcommand {\slideentry {0}{0}{6}{6/6}{}{0}}
12\headcommand {\beamer@framepages {6}{6}}
13\headcommand {\slideentry {0}{0}{7}{7/7}{}{0}}
14\headcommand {\beamer@framepages {7}{7}}
15\headcommand {\slideentry {0}{0}{8}{8/8}{}{0}}
16\headcommand {\beamer@framepages {8}{8}}
17\headcommand {\slideentry {0}{0}{9}{9/9}{}{0}}
18\headcommand {\beamer@framepages {9}{9}}
19\headcommand {\slideentry {0}{0}{10}{10/10}{}{0}}
20\headcommand {\beamer@framepages {10}{10}}
21\headcommand {\slideentry {0}{0}{11}{11/11}{}{0}}
22\headcommand {\beamer@framepages {11}{11}}
23\headcommand {\slideentry {0}{0}{12}{12/12}{}{0}}
24\headcommand {\beamer@framepages {12}{12}}
25\headcommand {\slideentry {0}{0}{13}{13/13}{}{0}}
26\headcommand {\beamer@framepages {13}{13}}
27\headcommand {\slideentry {0}{0}{14}{14/14}{}{0}}
28\headcommand {\beamer@framepages {14}{14}}
29\headcommand {\slideentry {0}{0}{15}{15/15}{}{0}}
30\headcommand {\beamer@framepages {15}{15}}
31\headcommand {\slideentry {0}{0}{16}{16/16}{}{0}}
32\headcommand {\beamer@framepages {16}{16}}
33\headcommand {\slideentry {0}{0}{17}{17/17}{}{0}}
34\headcommand {\beamer@framepages {17}{17}}
35\headcommand {\slideentry {0}{0}{18}{18/18}{}{0}}
36\headcommand {\beamer@framepages {18}{18}}
37\headcommand {\slideentry {0}{0}{19}{19/19}{}{0}}
38\headcommand {\beamer@framepages {19}{19}}
39\headcommand {\slideentry {0}{0}{20}{20/20}{}{0}}
40\headcommand {\beamer@framepages {20}{20}}
41\headcommand {\slideentry {0}{0}{21}{21/21}{}{0}}
42\headcommand {\beamer@framepages {21}{21}}
43\headcommand {\slideentry {0}{0}{22}{22/22}{}{0}}
44\headcommand {\beamer@framepages {22}{22}}
45\headcommand {\slideentry {0}{0}{23}{23/23}{}{0}}
46\headcommand {\beamer@framepages {23}{23}}
47\headcommand {\slideentry {0}{0}{24}{24/24}{}{0}}
48\headcommand {\beamer@framepages {24}{24}}
49\headcommand {\slideentry {0}{0}{25}{25/25}{}{0}}
50\headcommand {\beamer@framepages {25}{25}}
51\headcommand {\slideentry {0}{0}{26}{26/26}{}{0}}
52\headcommand {\beamer@framepages {26}{26}}
53\headcommand {\beamer@partpages {1}{26}}
54\headcommand {\beamer@subsectionpages {1}{26}}
55\headcommand {\beamer@sectionpages {1}{26}}
56\headcommand {\beamer@documentpages {26}}
57\headcommand {\gdef \inserttotalframenumber {26}}
diff --git a/src/Lecture4/slides/6-PythonIntroduction.out b/src/Lecture4/slides/6-PythonIntroduction.out
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/Lecture4/slides/6-PythonIntroduction.out
diff --git a/src/Lecture4/slides/6-PythonIntroduction.pdf b/src/Lecture4/slides/6-PythonIntroduction.pdf
new file mode 100644
index 0000000..873c99a
--- /dev/null
+++ b/src/Lecture4/slides/6-PythonIntroduction.pdf
Binary files differ
diff --git a/src/Lecture4/slides/6-PythonIntroduction.snm b/src/Lecture4/slides/6-PythonIntroduction.snm
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/Lecture4/slides/6-PythonIntroduction.snm
diff --git a/src/Lecture4/slides/6-PythonIntroduction.tex b/src/Lecture4/slides/6-PythonIntroduction.tex
new file mode 100644
index 0000000..6c2ec45
--- /dev/null
+++ b/src/Lecture4/slides/6-PythonIntroduction.tex
@@ -0,0 +1,466 @@
1\documentclass[11pt]{beamer}
2\usetheme{Madrid}
3\usepackage[utf8]{inputenc}
4\usepackage{amsmath}
5
6\usepackage{tikz}
7\usetikzlibrary{calc}
8\usepackage{svg}
9
10\author[\texttt{sebastiano.tronto@uni.lu}]{Sebastiano Tronto}
11\title[Python Intro and a bit of Sage]%
12{A Practical Introduction to Python (and a bit of Sage)}
13\logo{\includegraphics[scale=0.1]{img/unilu.jpg}}
14%\institute{University of Luxembourg}
15
16\date{2021-04-02}
17
18\begin{document}
19
20\begin{frame}
21 \titlepage
22\end{frame}
23
24\begin{frame}{Second part - schedule}
25 \begin{tabular}{l|c|c|l}
26 \textbf{Date} & \textbf{Topics} & \textbf{Homework} & \textbf{Deadline} \\
27 \hline
28 April 2 & Python ``review'', a bit of Sage & (see March 26) & April 18 \\
29 \hline
30 April 23 & Sage: Algebra and Crypto & Homework 3 & May 9 \\
31 \hline
32 May 7 & Sage: Analysis and Statistics & Homework 4 & May 30 \\
33 \hline
34 May 21 & Fast code, other software &
35 \end{tabular}
36\end{frame}
37
38
39\begin{frame}{What is programming?}
40 \begin{columns}
41 \column{0.35\textwidth}
42 \includegraphics[scale=0.12]{img/laptop.png}
43 \column{0.1\textwidth}
44 \begin{center}\includegraphics[scale=0.12]{img/equal.png}\end{center}
45 \column{0.35\textwidth}
46 \includegraphics[scale=0.9]{img/calc.jpg}
47 \end{columns}
48 \begin{itemize}
49 \item Software (apps): commands written in a \emph{programming language}
50 \item Programming language: mix of English and symbols
51 \item The code is \emph{compiled} to machine language (C, C++) or\\
52 \emph{interpreted} by some software in the middle (Python)
53 \end{itemize}
54\end{frame}
55
56
57\begin{frame}{Python}
58 \begin{columns}
59 \column{0.7\textwidth}
60 \url{https://www.python.org}
61
62 \vspace{0.3cm}
63 \begin{itemize}
64 \item Interpreted: slower than C, usable interactively
65 \item Simple syntax, easy to learn
66 \item Very popular
67 \item Sage is based on Python
68 \end{itemize}
69 \column{0.25\textwidth}
70 \includegraphics[scale=0.16]{img/python.png}
71 \end{columns}
72\end{frame}
73
74\begin{frame}{The interpreter - Python as a calculator}
75 \begin{center}
76 \includegraphics[scale=0.3]{img/term.png}
77 \end{center}
78\end{frame}
79
80\begin{frame}{The interpreter - Python as a calculator}
81 \url{https://www.python.org/shell}
82
83 \vspace{0.3cm}
84 \begin{itemize}
85 \item Each line executed as you enter it, result is printed
86 \item Usual math operations work: try them!
87 \begin{center}
88 \texttt{a+b, a-b, a*b, a/b}\\
89 \texttt{a**b (power), a//b (integer division), a\%b (remainder)}
90 \end{center}
91 \item More math functions:
92 \begin{center} \begin{tabular}{l}
93 \texttt{import math} \\
94 \texttt{math.sqrt(3)}
95 \end{tabular} \end{center}
96 \end{itemize}
97\end{frame}
98
99
100\begin{frame}{Help!}
101 \begin{itemize}
102 \item Type \texttt{help()} for interactive help
103 \item Try \texttt{help("math")} and \texttt{help("import")}
104 \item What does
105 \begin{center} \texttt{from math import *} \end{center}
106 do?
107 \end{itemize}
108\end{frame}
109
110\begin{frame}{Variables}
111 \texttt{variable\_name = value \qquad \# This is an assignment}
112
113 \vspace{0.3cm}
114 \begin{itemize}
115 \item Save results, use them later
116 \item \texttt{variable\_name}: combination of letters, numbers, underscores
117 \item \texttt{=} always means \emph{assignment}, never \emph{equality}
118 \end{itemize}
119\end{frame}
120
121\begin{frame}{Types}
122 \texttt{type(variable\_name) \qquad \# Get the type of a variable}
123
124 \vspace{0.3cm}
125 \begin{itemize}
126 %\item Tells the computer how to read a variable
127 \item In other languages you must specify the type of a variable
128 \item Python figures out automatically (\emph{dynamic typing})
129 \item Each type allows different operations
130 \end{itemize}
131\end{frame}
132
133
134\begin{frame}{Other types: Boolean and String}
135 \texttt{my\_bool = True}
136
137 \texttt{s1 = "hello!" \qquad \# Same as 'hello!'}
138
139 \vspace{0.3cm}
140 \begin{itemize}
141 \item \texttt{bool}: \texttt{True} or \texttt{False}
142 \begin{itemize}
143 \item Operations on \texttt{bool}:
144 \texttt{and}, \texttt{or}, \texttt{not}
145 \item Operations with boolean result: \texttt{==}, \texttt{!=},
146 \texttt{>}, \texttt{<}, \texttt{>=}, \texttt{<=}
147 \end{itemize}
148 \item \texttt{str}: a string of characters
149 \begin{itemize}
150 \item Useful operations:
151
152 \begin{tabular}{ll}
153 \texttt{len({\bf str})} & \texttt{\# Length, integer value} \\
154 \texttt{{\bf str} + {\bf str}} & \texttt{\# Concatenation} \\
155 \texttt{{\bf int} * {\bf str}} & \texttt{\# Repetition}
156 \end{tabular}
157 \end{itemize}
158 \end{itemize}
159\end{frame}
160
161\begin{frame}{Lists and sets}
162 %\texttt{(2.5, True, "hello") \qquad \# Tuple}
163
164 \texttt{[2.5, True, "hello"] \qquad \# List}
165
166 \texttt{\{2.5, True, "hello"\} \qquad \# Set}
167
168 \vspace{0.3cm}
169 \begin{itemize}
170 %\item Different collections of objects
171 %\item Tuple: immutable
172 \item Lists: keep order and duplicates
173 \item Sets: disregard order and duplicates, allow set operations
174 \end{itemize}
175\end{frame}
176
177
178\begin{frame}{Lists and sets}
179 Things in common (\emph{\texttt{A} is a list or a set}):
180
181 \vspace{0.3cm}
182 \begin{itemize}
183 \item \texttt{len(A)}: number of elements (\texttt{\bf int})
184 \item \texttt{x in A}: check if \texttt{x} is in \texttt{A}
185 (\texttt{\bf bool})
186 \item If \texttt{A} contains numbers: \texttt{max(A)}, \texttt{min(A)},
187 \texttt{sum(A)}
188 \end{itemize}
189
190 \vspace{0.3cm}
191 Pass from one type to the other: \texttt{set(A)} and \texttt{list(A)}
192\end{frame}
193
194\begin{frame}{List (and set) comprehension}
195 \texttt{[x**2 {\bf for} x {\bf in} [-1,4,1,0] {\bf if} x < 3]
196 \quad\# Result: [1,1,0]}
197
198 \texttt{\{x**2 {\bf for} x {\bf in} [-1,4,1,0] {\bf if} x < 3\}
199 \quad\# Result: \{0,1\}}
200
201 \vspace{0.3cm}
202 \begin{itemize}
203 \item Mathematical way to define lists and sets
204 \item Complete syntax:
205
206 \vspace{0.2cm}
207 \texttt{[f(x,y,\dots) {\bf for} x {\bf in} L {\bf for} y {\bf in} M
208 \dots \quad {\bf if} cond(x,y,\dots)]}
209
210 \vspace{0.2cm}
211 \begin{itemize}
212 \item Use as many variables \texttt{x, y, \dots} as you want
213 \item \texttt{L, M, \dots} are lists or sets or other collections
214 \item \texttt{f(x,y,\dots)} is any expression depending on the
215 variables
216 \item \texttt{cond(x,y,\dots)} has Boolean value
217 \end{itemize}
218 \end{itemize}
219\end{frame}
220
221\begin{frame}{Lists: access elements and sublists}
222 \begin{tabular}{ll}
223 \texttt{A[i]} &
224 \texttt{\# i-th element of A ($i\in \{0,\dots,\texttt{len(A)}-1\}$)} \\
225 \texttt{A[i] = value} & \texttt{\# Change i-th element of A} \\
226 \texttt{A[i:j:k]} & \texttt{\# Sublist from A[i] to A[j] with step k} \\
227 \texttt{A[i:j]} & \texttt{\# Same as A[i:j:1]} \\
228 \texttt{A[i:]} & \texttt{\# Same as A[i:len(A):1]} \\
229 \texttt{A[:j]} & \texttt{\# Same as A[0:j:1]}
230 \end{tabular}
231\end{frame}
232
233\begin{frame}{List operations}
234 \begin{tabular}{ll}
235 \texttt{A.append(x)} & \texttt{\# Append x to A ({\bf change A})} \\
236 \texttt{A.insert(i,x)} &
237 \texttt{\# Insert x in position i ({\bf change A})} \\
238 \texttt{del A[i]} & \texttt{\# Remove i-th element of A ({\bf change A})}\\
239 \end{tabular}
240
241 \vspace{1cm}
242 \begin{tabular}{ll}
243 \texttt{A+B} & \texttt{\# Concatenation of A and B ({\bf list})} \\
244 \texttt{A*n} & \texttt{\# Repetition of A ({\bf list})} \\
245 \end{tabular}
246\end{frame}
247
248\begin{frame}{Set operations}
249 \begin{tabular}{ll}
250 \texttt{A.add(x)} & \texttt{\# Add x to A ({\bf change A})} \\
251 \texttt{A.remove(x)} & \texttt{\# Remove x from A ({\bf change A})}\\
252 \end{tabular}
253
254 \vspace{0.5cm}
255 \begin{tabular}{ll}
256 \texttt{A < B} (or \texttt{A <= B}) &
257 \texttt{\# A contained in (or equal to) B ({\bf bool})} \\
258 \texttt{A > B} (or \texttt{A >= B}) &
259 \texttt{\# A containes (or is equal to) B ({\bf bool})} \\
260 \end{tabular}
261
262 \vspace{0.5cm}
263 \begin{tabular}{ll}
264 \texttt{A | B} & \texttt{\# Union ({\bf set})} \\
265 \texttt{A \& B} & \texttt{\# Intersection ({\bf set})}\\
266 \texttt{A - B} & \texttt{\# Set difference ({\bf set})} \\
267 \end{tabular}
268\end{frame}
269
270\begin{frame}{Writing more complex programs}
271 \begin{center}\includegraphics[scale=0.25]{img/geany.png}\end{center}
272\end{frame}
273
274\begin{frame}{Non-interactive Python}
275 \begin{itemize}
276 \item You can write a file (for example with \url{https://www.geany.org})
277 \item Output results with \texttt{print("string", or, other, values)}
278 \item Get input (\texttt{str}) with \texttt{x = input("Prompt: ")},
279 convert with \texttt{int(x)} or \texttt{float(x)}\dots
280 \item Blocks of code: use \emph{indentation} (see next slides)
281 \end{itemize}
282\end{frame}
283
284\begin{frame}[fragile]{\texttt{if} statement}
285 \begin{columns}
286 \column{0.45\textwidth}
287 \texttt{{\bf if} \emph{condition}:}
288
289 \texttt{\qquad instruction1}
290
291 \texttt{\qquad instruction2}
292
293 \texttt{\qquad \dots}
294
295 \texttt{{\bf else}: \# This is optional}
296
297 \texttt{\qquad other inst}
298 \column{0.55\textwidth}
299 \begin{tikzpicture}
300 \tikzstyle{s} = [rectangle, rounded corners, text centered,
301 draw=black, fill=red!30]
302 \tikzstyle{p} = [rectangle, text centered, draw=black, fill=orange!30]
303 \tikzstyle{d} = [rectangle, text centered, draw=black, fill=green!30]
304
305 \node(start) [s] {Start};
306 \node(cond) [d, below of=start] {\texttt{\emph{condition}}?};
307 \node(inst1) [p, right of=cond, xshift=2.7cm] {\texttt{instruction1}};
308 \node(inst2) [p, below of=inst1] {\texttt{instruction2}};
309 \node(dots) [p, below of=inst2] {\texttt{\dots}};
310 \node(other) [p, below of=cond, yshift=-0.5cm] {\texttt{other inst}};
311 \node(end) [s, below of=other, yshift=-0.5cm] {End};
312
313 \draw[->] (start) -- (cond);
314 \draw[->] (cond) -- node[anchor=south] {\texttt{True}} (inst1);
315 \draw[->] (inst1) -- (inst2);
316 \draw[->] (inst2) -- (dots);
317 \draw[->] (cond) -- node[anchor=east] {\texttt{False}} (other);
318 \draw[->] (dots) |- (end);
319 \draw[->] (other) -- (end);
320 \end{tikzpicture}
321 \end{columns}
322\end{frame}
323
324
325\begin{frame}[fragile]{\texttt{while} loop}
326 \begin{columns}
327 \column{0.45\textwidth}
328 \texttt{{\bf while} \emph{condition}:}
329
330 \texttt{\qquad instruction1}
331
332 \texttt{\qquad instruction2}
333
334 \texttt{\qquad \dots}
335 \column{0.55\textwidth}
336 \begin{tikzpicture}
337 \tikzstyle{s} = [rectangle, rounded corners, text centered,
338 draw=black, fill=red!30]
339 \tikzstyle{p} = [rectangle, text centered, draw=black, fill=orange!30]
340 \tikzstyle{d} = [rectangle, text centered, draw=black, fill=green!30]
341
342 \node(start) [s] {Start};
343 \node(cond) [d, below of=start] {\texttt{\emph{condition}}?};
344 \node(inst1) [p, right of=cond, xshift=2.7cm] {\texttt{instruction1}};
345 \node(inst2) [p, below of=inst1] {\texttt{instruction2}};
346 \node(dots) [p, below of=inst2] {\texttt{\dots}};
347 \node(end) [s, below of=other, yshift=-0.5cm] {End};
348
349 \draw[->] (start) -- (cond);
350 \draw[->] (cond) -- node[anchor=south] {\texttt{True}} (inst1);
351 \draw[->] (inst1) -- (inst2);
352 \draw[->] (inst2) -- (dots);
353 \draw[->] (cond) -- node[anchor=east] {\texttt{False}} (end);
354 \draw[->] (dots) -| ($(cond.south)+(0.4,0)$);
355 \end{tikzpicture}
356 \end{columns}
357\end{frame}
358
359\begin{frame}{\texttt{for} loop}
360 \texttt{{\bf for} i {\bf in} A:}
361
362 \texttt{\qquad instruction1}
363
364 \texttt{\qquad instruction2}
365
366 \texttt{\qquad \dots}
367
368 \vspace{0.3cm}
369 \begin{itemize}
370 \item Repeats instructions as \texttt{i} varies in \texttt{A}
371 \item \texttt{A} can be list, set or other collection
372 \item Example: \texttt{A} can be \texttt{range(\emph{a,b,step})}
373 \end{itemize}
374\end{frame}
375
376
377\begin{frame}{Functions}
378 \texttt{{\bf def} f(x, y, \dots): }
379
380 \texttt{\qquad instruction1}
381
382 \texttt{\qquad instruction2}
383
384 \texttt{\qquad \dots}
385
386 \texttt{\qquad {\bf return} some\_value}
387
388 \vspace{0.3cm}
389 \begin{itemize}
390 \item Useful to divide programs into ``pieces''
391 \item The result of \texttt{f(x,y,\dots)} is given by \texttt{return \dots}
392 \end{itemize}
393\end{frame}
394
395\begin{frame}{An example of function (with recursion)}
396 \texttt{def fibonacci(n):}
397
398 \texttt{\qquad if n == 0:}
399
400 \texttt{\qquad \qquad return 0}
401
402 \texttt{\qquad if n == 1:}
403
404 \texttt{\qquad \qquad return 1}
405
406 \texttt{\qquad return fibonacci(n-1) + fibonacci(n-2)}
407
408 \vspace{0.3cm}
409 \begin{itemize}
410 \item Elegant, but slow (in this case)
411 \item Can get stuck in infinite loop: when?
412 \end{itemize}
413\end{frame}
414
415\begin{frame}{Sage}
416 \begin{center}
417 \includesvg[scale=0.5]{img/sage}
418
419 \url{https://www.sagemath.org}
420 \end{center}
421
422 \vspace{0.3cm}
423 \begin{itemize}
424 \item Mathematical software, uses Python as a language
425 \item Use it interactively or with Jupyter notebook
426 \item Try it online: \url{https://sagecell.sagemath.org} or
427 \url{https://cocalc.com/app}
428 \end{itemize}
429\end{frame}
430
431\begin{frame}{Differences with Python}
432 \begin{tabular}{l|l}
433 \textbf{Python} & \textbf{Sage} \\
434 \texttt{{\color{gray}>>>} {\color{blue}type(5)}} &
435 \texttt{{\color{gray}sage:} {\color{blue}type(5)}} \\
436 \texttt{<class 'int'>} & \texttt{<class 'sage.rings.integer.Integer'>} \\
437 \texttt{{\color{gray}>>>} {\color{blue}5/2}} &
438 \texttt{{\color{gray}sage:} {\color{blue}5/2}} \\
439 \texttt{2.5} & \texttt{5/2} \\
440 \texttt{{\color{gray}>>>} {\color{blue}type(5/2)}} &
441 \texttt{{\color{gray}sage:} {\color{blue}type(5/2)}} \\
442 \texttt{<class 'float'>} &
443 \texttt{<class 'sage.rings.rational.Rational'>} \\
444 \texttt{{\color{gray}>>>} {\color{blue}type(2.5)}} &
445 \texttt{{\color{gray}sage:} {\color{blue}type(2.5)}} \\
446 \texttt{<class 'float'>} &
447 \texttt{<class 'sage.rings.real\_mpfr.RealLiteral'>} \\
448 \texttt{{\color{gray}>>>} {\color{blue}5**3}} &
449 \texttt{{\color{gray}sage:} {\color{blue}5\^{}3}} \\
450 \texttt{125} & \texttt{125}
451 \end{tabular}
452\end{frame}
453
454\begin{frame}{Sage Documentation}
455 \begin{itemize}
456 \item Tutorial (guided examples): type \texttt{tutorial()} or visit
457 \url{https://doc.sagemath.org/html/en/tutorial}
458 \item \texttt{help()}: works as in Python
459 \item Reference manual (detailed technical information):
460 \url{https://doc.sagemath.org/html/en/reference}
461 \end{itemize}
462\end{frame}
463
464
465\end{document}
466
diff --git a/src/Lecture4/slides/6-PythonIntroduction.toc b/src/Lecture4/slides/6-PythonIntroduction.toc
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/Lecture4/slides/6-PythonIntroduction.toc
diff --git a/src/Lecture4/slides/6-PythonIntroduction.vrb b/src/Lecture4/slides/6-PythonIntroduction.vrb
new file mode 100644
index 0000000..401cc07
--- /dev/null
+++ b/src/Lecture4/slides/6-PythonIntroduction.vrb
@@ -0,0 +1,32 @@
1\frametitle{\texttt {while} loop}
2\begin{columns}
3 \column{0.45\textwidth}
4 \texttt{{\bf while} \emph{condition}:}
5
6 \texttt{\qquad instruction1}
7
8 \texttt{\qquad instruction2}
9
10 \texttt{\qquad \dots}
11 \column{0.55\textwidth}
12 \begin{tikzpicture}
13 \tikzstyle{s} = [rectangle, rounded corners, text centered,
14 draw=black, fill=red!30]
15 \tikzstyle{p} = [rectangle, text centered, draw=black, fill=orange!30]
16 \tikzstyle{d} = [rectangle, text centered, draw=black, fill=green!30]
17
18 \node(start) [s] {Start};
19 \node(cond) [d, below of=start] {\texttt{\emph{condition}}?};
20 \node(inst1) [p, right of=cond, xshift=2.7cm] {\texttt{instruction1}};
21 \node(inst2) [p, below of=inst1] {\texttt{instruction2}};
22 \node(dots) [p, below of=inst2] {\texttt{\dots}};
23 \node(end) [s, below of=other, yshift=-0.5cm] {End};
24
25 \draw[->] (start) -- (cond);
26 \draw[->] (cond) -- node[anchor=south] {\texttt{True}} (inst1);
27 \draw[->] (inst1) -- (inst2);
28 \draw[->] (inst2) -- (dots);
29 \draw[->] (cond) -- node[anchor=east] {\texttt{False}} (end);
30 \draw[->] (dots) -| ($(cond.south)+(0.4,0)$);
31 \end{tikzpicture}
32 \end{columns}
diff --git a/src/Lecture4/slides/img/calc.jpg b/src/Lecture4/slides/img/calc.jpg
new file mode 100644
index 0000000..09438d1
--- /dev/null
+++ b/src/Lecture4/slides/img/calc.jpg
Binary files differ
diff --git a/src/Lecture4/slides/img/equal.png b/src/Lecture4/slides/img/equal.png
new file mode 100644
index 0000000..39948a6
--- /dev/null
+++ b/src/Lecture4/slides/img/equal.png
Binary files differ
diff --git a/src/Lecture4/slides/img/geany.png b/src/Lecture4/slides/img/geany.png
new file mode 100644
index 0000000..7910546
--- /dev/null
+++ b/src/Lecture4/slides/img/geany.png
Binary files differ
diff --git a/src/Lecture4/slides/img/laptop.png b/src/Lecture4/slides/img/laptop.png
new file mode 100644
index 0000000..0f9eaf5
--- /dev/null
+++ b/src/Lecture4/slides/img/laptop.png
Binary files differ
diff --git a/src/Lecture4/slides/img/python.png b/src/Lecture4/slides/img/python.png
new file mode 100644
index 0000000..d775a99
--- /dev/null
+++ b/src/Lecture4/slides/img/python.png
Binary files differ
diff --git a/src/Lecture4/slides/img/sage.svg b/src/Lecture4/slides/img/sage.svg
new file mode 100644
index 0000000..642e67b
--- /dev/null
+++ b/src/Lecture4/slides/img/sage.svg
@@ -0,0 +1,72 @@
1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<!-- Created with Inkscape (http://www.inkscape.org/) -->
3<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="500" height="130" id="svg2" sodipodi:version="0.32" inkscape:version="0.91 r13725" sodipodi:docname="sage-logo-2018.svg" inkscape:output_extension="org.inkscape.output.svg.inkscape" version="1.1">
4 <sodipodi:namedview id="base" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" gridtolerance="10000" guidetolerance="10" objecttolerance="10" inkscape:pageopacity="0" inkscape:pageshadow="2" inkscape:zoom="3.5216707" inkscape:cx="253.52082" inkscape:cy="12.127563" inkscape:document-units="px" inkscape:current-layer="g3993" showgrid="false" inkscape:window-width="2560" inkscape:window-height="1410" inkscape:window-x="0" inkscape:window-y="30" showguides="true" inkscape:guide-bbox="true" inkscape:window-maximized="1" fit-margin-top="0" fit-margin-left="0" fit-margin-right="0" fit-margin-bottom="0"/>
5 <defs id="defs4"/>
6 <metadata id="metadata7">
7 <rdf:RDF>
8 <cc:Work rdf:about="">
9 <dc:format>image/svg+xml</dc:format>
10 <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
11 <dc:title/>
12 </cc:Work>
13 </rdf:RDF>
14 </metadata>
15 <g id="layer1" inkscape:groupmode="layer" inkscape:label="Layer 1" transform="translate(-100.8642,-253.78876)">
16 <g id="g3993">
17 <rect ry="11.531985" rx="11.531984" y="253.78876" x="100.8642" height="130" width="500" id="rect3430" style="opacity:0.98999999;fill:#3131ff;fill-opacity:1;stroke:none" inkscape:export-xdpi="90" inkscape:export-ydpi="90"/>
18 <g id="g3432" transform="matrix(0.7759764,0,0,0.7759764,-1035.2282,-1486.6449)">
19 <path transform="matrix(0.9672595,0,0,0.9672595,235.69886,548.04605)" d="m 1332.2546,1792.4095 a 7.3256478,7.3256478 0 0 1 -7.3256,7.3257 7.3256478,7.3256478 0 0 1 -7.3257,-7.3257 7.3256478,7.3256478 0 0 1 7.3257,-7.3256 7.3256478,7.3256478 0 0 1 7.3256,7.3256 z" sodipodi:ry="7.3256478" sodipodi:rx="7.3256478" sodipodi:cy="1792.4095" sodipodi:cx="1324.929" id="path3434" style="opacity:0.98999999;fill:#ffffff;fill-opacity:1;stroke:none" sodipodi:type="arc"/>
20 <path sodipodi:type="arc" style="opacity:0.98999999;fill:#ffffff;fill-opacity:1;stroke:none" id="path3436" sodipodi:cx="1324.929" sodipodi:cy="1792.4095" sodipodi:rx="7.3256478" sodipodi:ry="7.3256478" d="m 1332.2546,1792.4095 a 7.3256478,7.3256478 0 0 1 -7.3256,7.3257 7.3256478,7.3256478 0 0 1 -7.3257,-7.3257 7.3256478,7.3256478 0 0 1 7.3257,-7.3256 7.3256478,7.3256478 0 0 1 7.3256,7.3256 z" transform="matrix(0.9672595,0,0,0.9672595,308.74604,539.35166)"/>
21 <path transform="matrix(1.2053547,0,0,1.2053547,-25.196551,182.19849)" d="m 1332.2546,1792.4095 a 7.3256478,7.3256478 0 0 1 -7.3256,7.3257 7.3256478,7.3256478 0 0 1 -7.3257,-7.3257 7.3256478,7.3256478 0 0 1 7.3257,-7.3256 7.3256478,7.3256478 0 0 1 7.3256,7.3256 z" sodipodi:ry="7.3256478" sodipodi:rx="7.3256478" sodipodi:cy="1792.4095" sodipodi:cx="1324.929" id="path3438" style="opacity:0.98999999;fill:#ffffff;fill-opacity:1;stroke:none" sodipodi:type="arc"/>
22 <path transform="matrix(0.7953719,0,0,0.7953719,449.34462,925.45441)" d="m 1332.2546,1792.4095 a 7.3256478,7.3256478 0 0 1 -7.3256,7.3257 7.3256478,7.3256478 0 0 1 -7.3257,-7.3257 7.3256478,7.3256478 0 0 1 7.3257,-7.3256 7.3256478,7.3256478 0 0 1 7.3256,7.3256 z" sodipodi:ry="7.3256478" sodipodi:rx="7.3256478" sodipodi:cy="1792.4095" sodipodi:cx="1324.929" id="path3440" style="opacity:0.98999999;fill:#ffffff;fill-opacity:1;stroke:none" sodipodi:type="arc"/>
23 <path sodipodi:type="arc" style="opacity:0.98999999;fill:#ffffff;fill-opacity:1;stroke:none" id="path3442" sodipodi:cx="1324.929" sodipodi:cy="1792.4095" sodipodi:rx="7.3256478" sodipodi:ry="7.3256478" d="m 1332.2546,1792.4095 a 7.3256478,7.3256478 0 0 1 -7.3256,7.3257 7.3256478,7.3256478 0 0 1 -7.3257,-7.3257 7.3256478,7.3256478 0 0 1 7.3257,-7.3256 7.3256478,7.3256478 0 0 1 7.3256,7.3256 z" transform="matrix(0.7953719,0,0,0.7953719,499.30379,973.24771)"/>
24 <path transform="matrix(0.7953719,0,0,0.7953719,556.29908,956.69427)" d="m 1332.2546,1792.4095 a 7.3256478,7.3256478 0 0 1 -7.3256,7.3257 7.3256478,7.3256478 0 0 1 -7.3257,-7.3257 7.3256478,7.3256478 0 0 1 7.3257,-7.3256 7.3256478,7.3256478 0 0 1 7.3256,7.3256 z" sodipodi:ry="7.3256478" sodipodi:rx="7.3256478" sodipodi:cy="1792.4095" sodipodi:cx="1324.929" id="path3444" style="opacity:0.98999999;fill:#ffffff;fill-opacity:1;stroke:none" sodipodi:type="arc"/>
25 <path sodipodi:type="arc" style="opacity:0.98999999;fill:#ffffff;fill-opacity:1;stroke:none" id="path3446" sodipodi:cx="1324.929" sodipodi:cy="1792.4095" sodipodi:rx="7.3256478" sodipodi:ry="7.3256478" d="m 1332.2546,1792.4095 a 7.3256478,7.3256478 0 0 1 -7.3256,7.3257 7.3256478,7.3256478 0 0 1 -7.3257,-7.3257 7.3256478,7.3256478 0 0 1 7.3257,-7.3256 7.3256478,7.3256478 0 0 1 7.3256,7.3256 z" transform="matrix(0.7953719,0,0,0.7953719,581.00221,902.90894)"/>
26 <path transform="matrix(0.6234843,0,0,0.6234843,800.65848,1180.6657)" d="m 1332.2546,1792.4095 a 7.3256478,7.3256478 0 0 1 -7.3256,7.3257 7.3256478,7.3256478 0 0 1 -7.3257,-7.3257 7.3256478,7.3256478 0 0 1 7.3257,-7.3256 7.3256478,7.3256478 0 0 1 7.3256,7.3256 z" sodipodi:ry="7.3256478" sodipodi:rx="7.3256478" sodipodi:cy="1792.4095" sodipodi:cx="1324.929" id="path3448" style="opacity:0.98999999;fill:#ffffff;fill-opacity:1;stroke:none" sodipodi:type="arc"/>
27 <path sodipodi:type="arc" style="opacity:0.98999999;fill:#ffffff;fill-opacity:1;stroke:none" id="path3450" sodipodi:cx="1324.929" sodipodi:cy="1792.4095" sodipodi:rx="7.3256478" sodipodi:ry="7.3256478" d="m 1332.2546,1792.4095 a 7.3256478,7.3256478 0 0 1 -7.3256,7.3257 7.3256478,7.3256478 0 0 1 -7.3257,-7.3257 7.3256478,7.3256478 0 0 1 7.3257,-7.3256 7.3256478,7.3256478 0 0 1 7.3256,7.3256 z" transform="matrix(0.6234843,0,0,0.6234843,766.33259,1139.9519)"/>
28 <path transform="matrix(0.6234843,0,0,0.6234843,664.75027,1230.1938)" d="m 1332.2546,1792.4095 a 7.3256478,7.3256478 0 0 1 -7.3256,7.3257 7.3256478,7.3256478 0 0 1 -7.3257,-7.3257 7.3256478,7.3256478 0 0 1 7.3257,-7.3256 7.3256478,7.3256478 0 0 1 7.3256,7.3256 z" sodipodi:ry="7.3256478" sodipodi:rx="7.3256478" sodipodi:cy="1792.4095" sodipodi:cx="1324.929" id="path3454" style="opacity:0.98999999;fill:#ffffff;fill-opacity:1;stroke:none" sodipodi:type="arc"/>
29 <path sodipodi:type="arc" style="opacity:0.98999999;fill:#ffffff;fill-opacity:1;stroke:none" id="path3456" sodipodi:cx="1324.929" sodipodi:cy="1792.4095" sodipodi:rx="7.3256478" sodipodi:ry="7.3256478" d="m 1332.2546,1792.4095 a 7.3256478,7.3256478 0 0 1 -7.3256,7.3257 7.3256478,7.3256478 0 0 1 -7.3257,-7.3257 7.3256478,7.3256478 0 0 1 7.3257,-7.3256 7.3256478,7.3256478 0 0 1 7.3256,7.3256 z" transform="matrix(0.6234843,0,0,0.6234843,701.58781,1267.5497)"/>
30 <path sodipodi:type="arc" style="opacity:0.98999999;fill:#ffffff;fill-opacity:1;stroke:none" id="path3458" sodipodi:cx="1324.929" sodipodi:cy="1792.4095" sodipodi:rx="7.3256478" sodipodi:ry="7.3256478" d="m 1332.2546,1792.4095 a 7.3256478,7.3256478 0 0 1 -7.3256,7.3257 7.3256478,7.3256478 0 0 1 -7.3257,-7.3257 7.3256478,7.3256478 0 0 1 7.3257,-7.3256 7.3256478,7.3256478 0 0 1 7.3256,7.3256 z" transform="matrix(0.7953719,0,0,0.7953719,440.41431,869.81028)"/>
31 <path transform="matrix(0.7953719,0,0,0.7953719,484.50773,829.39633)" d="m 1332.2546,1792.4095 a 7.3256478,7.3256478 0 0 1 -7.3256,7.3257 7.3256478,7.3256478 0 0 1 -7.3257,-7.3257 7.3256478,7.3256478 0 0 1 7.3257,-7.3256 7.3256478,7.3256478 0 0 1 7.3256,7.3256 z" sodipodi:ry="7.3256478" sodipodi:rx="7.3256478" sodipodi:cy="1792.4095" sodipodi:cx="1324.929" id="path3460" style="opacity:0.98999999;fill:#ffffff;fill-opacity:1;stroke:none" sodipodi:type="arc"/>
32 <path transform="matrix(0.6234843,0,0,0.6234843,699.00639,1196.6154)" d="m 1332.2546,1792.4095 a 7.3256478,7.3256478 0 0 1 -7.3256,7.3257 7.3256478,7.3256478 0 0 1 -7.3257,-7.3257 7.3256478,7.3256478 0 0 1 7.3257,-7.3256 7.3256478,7.3256478 0 0 1 7.3256,7.3256 z" sodipodi:ry="7.3256478" sodipodi:rx="7.3256478" sodipodi:cy="1792.4095" sodipodi:cx="1324.929" id="path3462" style="opacity:0.98999999;fill:#ffffff;fill-opacity:1;stroke:none" sodipodi:type="arc"/>
33 <path sodipodi:type="arc" style="opacity:0.98999999;fill:#ffffff;fill-opacity:1;stroke:none" id="path3464" sodipodi:cx="1324.929" sodipodi:cy="1792.4095" sodipodi:rx="7.3256478" sodipodi:ry="7.3256478" d="m 1332.2546,1792.4095 a 7.3256478,7.3256478 0 0 1 -7.3256,7.3257 7.3256478,7.3256478 0 0 1 -7.3257,-7.3257 7.3256478,7.3256478 0 0 1 7.3257,-7.3256 7.3256478,7.3256478 0 0 1 7.3256,7.3256 z" transform="matrix(0.6234843,0,0,0.6234843,749.0301,1256.3969)"/>
34 <path id="path3468" d="m 1590.0065,2271.6035 -18.6281,72.6731" style="fill:none;stroke:#ffffff;stroke-width:8;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" inkscape:connector-curvature="0"/>
35 <path id="path3470" d="m 1589.0995,2273.5223 -72.5588,8.4545" style="fill:none;stroke:#ffffff;stroke-width:8;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" inkscape:connector-curvature="0"/>
36 <path id="path3472" d="m 1571.3087,2343.4372 -54.6982,-61.8801" style="fill:none;stroke:#ffffff;stroke-width:8;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" inkscape:connector-curvature="0"/>
37 <path id="path3474" d="m 1571.3087,2343.8569 -18.07,55.944" style="fill:none;stroke:#ffffff;stroke-width:6;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" inkscape:connector-curvature="0"/>
38 <path id="path3476" d="m 1516.4012,2281.3172 21.0002,-24.3443" style="fill:none;stroke:#ffffff;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" inkscape:connector-curvature="0"/>
39 <path id="path3478" d="m 1493.9359,2295.4681 21.7676,-14.3307" style="fill:none;stroke:#ffffff;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" inkscape:connector-curvature="0"/>
40 <path id="path3480" d="m 1503.0057,2350.6326 13.3955,-69.9749" style="fill:none;stroke:#ffffff;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" inkscape:connector-curvature="0"/>
41 <path id="path3482" d="m 1552.1922,2398.5417 -49.5353,-46.59" style="fill:none;stroke:#ffffff;stroke-width:6;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" inkscape:connector-curvature="0"/>
42 <path id="path3484" d="m 1610.0997,2381.3328 -58.1168,16.969" style="fill:none;stroke:#ffffff;stroke-width:6;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" inkscape:connector-curvature="0"/>
43 <path id="path3486" d="m 1634.2395,2328.3869 -24.1398,53.1257" style="fill:none;stroke:#ffffff;stroke-width:6;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" inkscape:connector-curvature="0"/>
44 <path id="path3488" d="m 1570.5412,2343.4372 62.8611,-14.6306" style="fill:none;stroke:#ffffff;stroke-width:6;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" inkscape:connector-curvature="0"/>
45 <path id="path3491" d="m 1590.1461,2273.0426 43.1166,55.1644" style="fill:none;stroke:#ffffff;stroke-width:6;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" inkscape:connector-curvature="0"/>
46 <path id="path3493" d="m 1501.7987,2350.6326 66.9774,-7.1954" style="fill:none;stroke:#ffffff;stroke-width:6;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" inkscape:connector-curvature="0"/>
47 <path id="path3495" d="m 1551.4038,2398.062 -24.4188,-13.1316" style="fill:none;stroke:#ffffff;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" inkscape:connector-curvature="0"/>
48 <path id="path3497" d="m 1489.38,2347.2747 36.3492,37.296" style="fill:none;stroke:#ffffff;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" inkscape:connector-curvature="0"/>
49 <path id="path3499" d="m 1493.2173,2295.9478 -2.721,51.3269" style="fill:none;stroke:#ffffff;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" inkscape:connector-curvature="0"/>
50 <path id="path3501" d="m 1537.3805,2254.8743 54.0702,1.8588" style="fill:none;stroke:#ffffff;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" inkscape:connector-curvature="0"/>
51 <path id="path3503" d="m 1627.172,2298.5261 -34.2562,-41.9729" style="fill:none;stroke:#ffffff;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" inkscape:connector-curvature="0"/>
52 <path id="path3505" d="m 1635.4744,2328.207 -9.0001,-30.1006" style="fill:none;stroke:#ffffff;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" inkscape:connector-curvature="0"/>
53 <path id="path3507" d="m 1589.4972,2272.2631 3.2093,-15.2902" style="fill:none;stroke:#ffffff;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" inkscape:connector-curvature="0"/>
54 <path id="path3509" d="m 1503.6825,2351.2305 -14.1629,-2.6983" style="fill:none;stroke:#ffffff;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" inkscape:connector-curvature="0"/>
55 <path id="path3511" d="m 1526.985,2385.4084 46.7446,-11.4526" style="fill:none;stroke:#ffffff;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" inkscape:connector-curvature="0"/>
56 <path id="path3513" d="m 1574.9157,2373.8958 33.6282,7.2554" style="fill:none;stroke:#ffffff;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" inkscape:connector-curvature="0"/>
57 <path id="path3515" d="m 1492.5121,2295.941 61.203,-6.8478" style="fill:none;stroke:#ffffff;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" inkscape:connector-curvature="0"/>
58 <path id="path3517" d="m 1553.7151,2287.7387 36.4241,-13.5452" style="fill:none;stroke:#ffffff;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" inkscape:connector-curvature="0"/>
59 <path transform="matrix(0.6234843,0,0,0.6234843,726.86911,1170.9368)" d="m 1332.2546,1792.4095 a 7.3256478,7.3256478 0 0 1 -7.3256,7.3257 7.3256478,7.3256478 0 0 1 -7.3257,-7.3257 7.3256478,7.3256478 0 0 1 7.3257,-7.3256 7.3256478,7.3256478 0 0 1 7.3256,7.3256 z" sodipodi:ry="7.3256478" sodipodi:rx="7.3256478" sodipodi:cy="1792.4095" sodipodi:cx="1324.929" id="path3519" style="opacity:0.98999999;fill:#ffffff;fill-opacity:1;stroke:none" sodipodi:type="arc"/>
60 <path sodipodi:type="arc" style="opacity:0.98999999;fill:#ffffff;fill-opacity:1;stroke:none" id="path3521" sodipodi:cx="1324.929" sodipodi:cy="1792.4095" sodipodi:rx="7.3256478" sodipodi:ry="7.3256478" d="m 1332.2546,1792.4095 a 7.3256478,7.3256478 0 0 1 -7.3256,7.3257 7.3256478,7.3256478 0 0 1 -7.3257,-7.3257 7.3256478,7.3256478 0 0 1 7.3257,-7.3256 7.3256478,7.3256478 0 0 1 7.3256,7.3256 z" transform="matrix(0.5833906,0,0,0.5833906,837.2333,1298.2147)"/>
61 <path id="path3523" d="m 1609.6576,2343.739 16.404,-46.0639" style="fill:none;stroke:#ffffff;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" inkscape:connector-curvature="0"/>
62 <path id="path3525" d="m 1609.4298,2381.481 0.5696,-38.77" style="fill:none;stroke:#ffffff;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" inkscape:connector-curvature="0"/>
63 <path style="fill:none;stroke:#ffffff;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" d="m 1502.1919,2350.0723 23.4339,-35.9573" id="path3527" inkscape:connector-curvature="0"/>
64 <path style="fill:none;stroke:#ffffff;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" d="M 1537.8572,2255.3651 1524.94,2314.115" id="path3529" inkscape:connector-curvature="0"/>
65 </g>
66 <path style="fill:none;stroke:#ffffff;stroke-width:2.70117497;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" d="m 254.60496,253.34928 c 0,132.01 0,130.863 0,130.863" id="path3583" inkscape:connector-curvature="0"/>
67 <path inkscape:connector-curvature="0" style="fill:#ffffff;fill-opacity:1;stroke:none" d="m 346.54394,281.67999 c -0.37043,0.007 -0.76375,0.0151 -1.1923,0.0298 -4.7419,0.0171 -7.05535,-0.0322 -12.07595,0 -9.38453,-0.002 -18.5077,-0.009 -27.94282,0 -2.76724,0.002 -3.2464,0.74262 -4.15781,2.08965 -0.84157,1.257 -0.52,2.74748 -0.58086,4.35844 0.0491,9.26026 -0.11828,18.39755 0.0916,27.76254 2.3e-4,1.71546 0.22265,2.89833 2.96549,2.92551 11.90252,0.071 23.8385,-0.0528 35.73868,0.11936 1.86901,-0.0373 2.49921,0.36001 2.41519,2.71654 0.0938,5.34549 0.0594,8.55673 0.0916,13.01556 0.0616,1.51319 -0.93002,2.06621 -2.44578,2.05981 -11.81841,-0.14189 -23.64222,-0.0193 -35.46352,-0.0597 0,0 -19.44381,-0.0373 -19.74953,0 -1.40045,0.56851 -1.24661,1.72798 -1.28402,3.64197 0.0367,1.89735 -0.10303,3.39377 1.1923,3.6121 2.2304,0.43082 4.53877,0.12215 6.81757,0.23882 18.43643,-0.0193 38.42963,0.0406 56.86393,-0.0298 1.55646,0.0749 2.20791,-0.4696 2.14005,-2.35832 -0.0403,-9.55785 0.0816,-18.57222 -0.0612,-28.12078 -0.0638,-1.48128 -0.33764,-2.06013 -1.58975,-2.26876 l -34.88265,0 c -2.78601,0.032 -3.05366,-0.007 -3.7298,-0.71645 -0.6514,-0.68444 -0.7527,-1.59021 -0.70315,-6.06001 -0.0713,-4.92872 -0.0627,-3.07599 0,-8.00038 -0.0565,-3.81095 -0.27244,-4.9496 0.61143,-6.03015 0.9055,-1.10697 4.69087,-0.67763 8.34616,-0.65674 10.24285,-0.0305 23.70767,0.19061 30.20516,0 2.18319,-0.0642 2.0923,-1.30284 2.14004,-4.0599 0.0193,-3.86686 -1.16746,-4.25181 -3.76036,-4.20916 z m 23.4793,0 c -2.38324,0.004 -4.80548,0.0359 -7.3067,0.0895 -2.42348,-0.18934 -4.30516,1.00537 -4.18838,4.44799 0.0543,18.30196 -0.19041,35.13798 0,53.43544 0.19127,4.57432 2.39608,4.27143 5.8087,4.23901 13.51499,-0.0625 24.92875,-0.0434 38.64301,-0.47763 1.87754,-0.0594 3.45678,-1.4103 4.76925,-4.1196 1.74989,-3.13894 3.37176,-5.84613 5.25838,-9.40345 1.73378,-3.26914 2.76947,-6.45889 4.24951,-6.44807 1.48004,0.0109 2.52111,3.21701 4.86095,7.22423 2.33984,4.00723 5.11487,8.50015 7.52072,11.55281 1.90175,1.72645 5.04589,1.14142 8.04044,1.25378 8.37287,-0.0638 16.78431,0.22246 25.13019,0 2.26544,-0.0504 1.60002,-2.09729 1.71203,-3.64197 0.32736,-4.51419 -2.74798,-3.62595 -4.67752,-3.67182 -8.8857,-0.10758 -22.44645,0.74045 -25.68049,0.11936 -1.64482,-0.31584 -3.21958,-2.94907 -7.70414,-10.56769 -1.99177,-2.96156 -2.55627,-4.11539 -4.52466,-7.61233 -0.5719,-0.98583 -0.56688,-1.88964 -0.30572,-3.01504 2.62458,-5.434 1.5447,-3.00409 2.90434,-5.64208 4.10098,-6.79184 10.5605,-17.97616 11.12822,-18.8666 1.22636,-1.9235 2.83254,-1.53373 5.5641,-1.61201 7.76311,-0.0151 15.47704,-0.10563 23.2653,0.0298 3.76224,-0.009 3.78975,0.94091 3.72979,5.40325 -0.047,21.77964 0.10281,43.54142 -0.0612,65.31662 -0.65557,2.64801 -4.17524,2.40442 -6.45069,2.44788 -15.03857,0.0627 -30.0913,-0.1303 -45.1243,0.0895 -0.8338,1.30593 -0.90729,2.40815 -1.03945,4.1196 -0.0894,1.63569 -0.28797,3.95505 2.04832,3.88078 18.84775,0.0635 37.7046,0.0108 56.55823,0.0298 1.94799,-0.002 3.20688,-1.95119 3.14892,-4.1196 -0.0361,-26.28869 0.0651,-52.58481 -0.0612,-78.86953 0.0706,-2.49769 -1.23214,-5.52925 -4.24951,-5.52266 -12.40867,-0.0914 -24.82933,-0.0855 -37.23671,0 -3.77303,0.41319 -4.85765,4.65736 -6.72585,7.28393 -3.70935,6.17615 -7.25859,12.46514 -11.06705,18.56808 -1.53274,1.93131 -2.6533,-0.74347 -3.33236,-1.94039 -4.38793,-7.25285 -8.84035,-14.62797 -13.42111,-21.76227 -2.13904,-2.88031 -5.96126,-2.14883 -9.72191,-2.14935 -7.51296,0.046 -14.31183,-0.10541 -21.46155,-0.0895 z m 117.794,0 c -1.74522,0.40297 -2.82837,2.21505 -2.87379,3.91064 -0.002,17.91255 -0.0171,35.82253 0.0612,53.73396 0.0554,1.90805 1.00565,3.07483 2.75149,3.82109 1.82118,0.88335 3.66025,0.97694 5.93097,1.01496 l 67.96159,0 c 1.33481,0.0881 1.93085,-0.007 1.95662,-1.70156 0.0243,-1.66238 0.0528,-3.21199 0,-4.6868 0.0537,-1.796 -1.51141,-1.69348 -2.29289,-1.64188 l -65.88273,0 c -1.66979,-0.0346 -2.40612,-1.66458 -2.17059,-3.10462 0.0193,-13.82954 -0.0386,-27.69841 0.0305,-41.52442 -0.10862,-2.27759 0.93405,-2.96926 2.81262,-2.80612 12.70762,0.037 27.10367,-0.0691 39.80477,0.0596 1.47047,-0.0583 2.46521,0.86667 2.35404,2.41802 -0.0575,5.30572 0.11055,12.40667 -0.0916,17.70236 0.1698,2.06578 -1.3662,1.96895 -2.99605,1.94039 -11.6794,0.0193 -16.80653,0.0713 -36.53356,0.0596 -1.93222,-7.6e-4 -1.49203,1.87931 -1.55919,3.52254 0.0771,2.73125 -0.42735,4.24372 1.19234,4.23902 15.57389,-0.0453 30.24904,0.11398 45.49113,0 1.56318,0.12 2.4766,-1.17465 2.44576,-2.92552 -0.0487,-10.28849 0.117,-20.55088 -0.0612,-30.83733 -0.29732,-1.83355 -2.25243,-3.09594 -4.79982,-3.13447 -17.85306,-0.0357 -35.6799,0.0662 -53.5316,-0.0596 z m -114.85909,7.37348 c 2.82764,-0.0294 5.67113,0.20523 8.49904,0.14919 4.53418,-0.0522 7.52775,0.0539 12.07594,0 3.82394,-0.0764 4.71204,2.78726 5.35009,3.82109 3.747,6.07122 6.39261,10.52033 9.99705,16.56797 1.20991,2.01432 2.41944,3.65173 3.57693,5.49282 0.46804,0.98488 0.26631,2.0831 -0.24457,3.01507 -1.9047,2.84027 -3.54524,5.84743 -5.31952,8.77655 -1.898,3.02164 -3.43612,6.271 -5.71697,9.04521 -0.95342,1.39773 -3.14377,0.68796 -4.03552,0.92542 -8.07776,0.0916 -14.69346,0.0335 -22.77613,0.0596 -1.73097,-0.10862 -5.08644,0.40143 -6.54244,-0.53732 -1.7547,-1.13139 -1.53826,-2.95631 -1.5286,-4.59726 -0.0414,-7.1301 0.0129,-12.7755 0,-19.91142 -0.0987,-5.62971 0.0988,-9.77399 0,-15.40373 -0.087,-3.25177 0.16444,-3.72516 0.64203,-4.8062 0.57861,-1.30962 1.90723,-2.07022 3.17948,-2.44789 0.93799,-0.0835 1.90066,-0.13931 2.84319,-0.14919 z" id="path5088-7-1-3" sodipodi:nodetypes="cccccccccccccccccccccccccsccccccccccccscscccscsccccscccccccccccccccccccccccccccccccccccccccsccccccccscccccccscccsccc"/>
68 </g>
69 </g>
70 <svg version="1.1" baseProfile="full" id="body" width="8in" height="8in" viewBox="0 0 1 1" preserveAspectRatio="none" inkscape:version="0.48.4 r9939" transform="matrix(720,0,0,720,-100.8642,668.57342)"/>
71 <svg version="1.1" baseProfile="full" id="svg118829" width="8in" height="8in" viewBox="0 0 1 1" preserveAspectRatio="none" inkscape:version="0.48.4 r9939" transform="matrix(720,0,0,720,-100.8642,668.57342)"/>
72</svg> \ No newline at end of file
diff --git a/src/Lecture4/slides/img/term.png b/src/Lecture4/slides/img/term.png
new file mode 100644
index 0000000..fb0519a
--- /dev/null
+++ b/src/Lecture4/slides/img/term.png
Binary files differ
diff --git a/src/Lecture4/slides/img/unilu.jpg b/src/Lecture4/slides/img/unilu.jpg
new file mode 100644
index 0000000..5265563
--- /dev/null
+++ b/src/Lecture4/slides/img/unilu.jpg
Binary files differ
diff --git a/src/Lecture4/slides/svg-inkscape/sage_svg-tex.pdf b/src/Lecture4/slides/svg-inkscape/sage_svg-tex.pdf
new file mode 100644
index 0000000..5f75b82
--- /dev/null
+++ b/src/Lecture4/slides/svg-inkscape/sage_svg-tex.pdf
Binary files differ
diff --git a/src/Lecture4/slides/svg-inkscape/sage_svg-tex.pdf_tex b/src/Lecture4/slides/svg-inkscape/sage_svg-tex.pdf_tex
new file mode 100644
index 0000000..348dc56
--- /dev/null
+++ b/src/Lecture4/slides/svg-inkscape/sage_svg-tex.pdf_tex
@@ -0,0 +1,58 @@
1%% Creator: Inkscape 1.0.2 (e86c870879, 2021-01-15), www.inkscape.org
2%% PDF/EPS/PS + LaTeX output extension by Johan Engelen, 2010
3%% Accompanies image file 'sage_svg-tex.pdf' (pdf, eps, ps)
4%%
5%% To include the image in your LaTeX document, write
6%% \input{<filename>.pdf_tex}
7%% instead of
8%% \includegraphics{<filename>.pdf}
9%% To scale the image, write
10%% \def\svgwidth{<desired width>}
11%% \input{<filename>.pdf_tex}
12%% instead of
13%% \includegraphics[width=<desired width>]{<filename>.pdf}
14%%
15%% Images with a different path to the parent latex file can
16%% be accessed with the `import' package (which may need to be
17%% installed) using
18%% \usepackage{import}
19%% in the preamble, and then including the image with
20%% \import{<path to file>}{<filename>.pdf_tex}
21%% Alternatively, one can specify
22%% \graphicspath{{<path to file>/}}
23%%
24%% For more information, please see info/svg-inkscape on CTAN:
25%% http://tug.ctan.org/tex-archive/info/svg-inkscape
26%%
27\begingroup%
28 \makeatletter%
29 \providecommand\color[2][]{%
30 \errmessage{(Inkscape) Color is used for the text in Inkscape, but the package 'color.sty' is not loaded}%
31 \renewcommand\color[2][]{}%
32 }%
33 \providecommand\transparent[1]{%
34 \errmessage{(Inkscape) Transparency is used (non-zero) for the text in Inkscape, but the package 'transparent.sty' is not loaded}%
35 \renewcommand\transparent[1]{}%
36 }%
37 \providecommand\rotatebox[2]{#2}%
38 \newcommand*\fsize{\dimexpr\f@size pt\relax}%
39 \newcommand*\lineheight[1]{\fontsize{\fsize}{#1\fsize}\selectfont}%
40 \ifx\svgwidth\undefined%
41 \setlength{\unitlength}{375bp}%
42 \ifx\svgscale\undefined%
43 \relax%
44 \else%
45 \setlength{\unitlength}{\unitlength * \real{\svgscale}}%
46 \fi%
47 \else%
48 \setlength{\unitlength}{\svgwidth}%
49 \fi%
50 \global\let\svgwidth\undefined%
51 \global\let\svgscale\undefined%
52 \makeatother%
53 \begin{picture}(1,0.26172667)%
54 \lineheight{1}%
55 \setlength\tabcolsep{0pt}%
56 \put(0,0){\includegraphics[width=\unitlength,page=1]{sage_svg-tex.pdf}}%
57 \end{picture}%
58\endgroup%

Generated with cgit - Back to sebastiano.tronto.net