aboutsummaryrefslogtreecommitdiff
path: root/src/Homework4
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Homework4/.ipynb_checkpoints/Homework4-checkpoint.ipynb172
-rw-r--r--src/Homework4/.ipynb_checkpoints/Homework4-solutions-checkpoint.ipynb61
-rw-r--r--src/Homework4/.ipynb_checkpoints/Untitled-checkpoint.ipynb6
-rw-r--r--src/Homework4/Homework4.aux20
-rw-r--r--src/Homework4/Homework4.ipynb172
-rw-r--r--src/Homework4/Homework4.log953
-rw-r--r--src/Homework4/Homework4.out0
-rw-r--r--src/Homework4/Homework4.pdfbin0 -> 116266 bytes
-rw-r--r--src/Homework4/Homework4.tex530
9 files changed, 1914 insertions, 0 deletions
diff --git a/src/Homework4/.ipynb_checkpoints/Homework4-checkpoint.ipynb b/src/Homework4/.ipynb_checkpoints/Homework4-checkpoint.ipynb
new file mode 100644
index 0000000..47f63cf
--- /dev/null
+++ b/src/Homework4/.ipynb_checkpoints/Homework4-checkpoint.ipynb
@@ -0,0 +1,172 @@
1{
2 "cells": [
3 {
4 "cell_type": "markdown",
5 "metadata": {},
6 "source": [
7 "*For this exercise you should have received this text in .ipynb format. Complete the exercises by modifying this file, and submit the modified version*\n",
8 "\n",
9 "**Deadline:** Sunday, June 6."
10 ]
11 },
12 {
13 "cell_type": "markdown",
14 "metadata": {},
15 "source": [
16 "**Exercise 1 (6 points)**\n",
17 "\n",
18 "Use Sage to find the intersection points *in the real plane* (that is, only those points such that *both* coordinates are real numbers) of the following pairs of geometric objects:\n",
19 "\n",
20 "* The circle of equation $x^2 + y^2 = 4$ and the ellipse of equation $\\left(\\frac x2\\right)^2 + (2y)^2 = 4$.\n",
21 "* The circle of equation $x^2 + y^2 = 4$ and the ellipse of equation $\\left(\\frac x2-2\\right)^2 + (2y)^2 = 4$.\n",
22 "* The curve of equation $y^2 = x^3 -x +1$ and the horizontal line $y=10$.\n",
23 "* The $x$-axis and the graph of the function $f(x)=\\log(x) - e^{-x}$. *Hint: $f(x)$ has only one real zero.*"
24 ]
25 },
26 {
27 "cell_type": "code",
28 "execution_count": null,
29 "metadata": {},
30 "outputs": [],
31 "source": []
32 },
33 {
34 "cell_type": "markdown",
35 "metadata": {},
36 "source": [
37 "**Exercise 2 (6 points)**\n",
38 "\n",
39 "(a) Use Sage to compute\n",
40 "* the derivative\n",
41 "* a primite (i.e. integral)\n",
42 "* the power series expansion around $0$ up to order $4$\n",
43 "\n",
44 "of the following functions:\n",
45 "* $f(x) = e^x$\n",
46 "* $f(x) = \\sin(x)$\n",
47 "* $f(x) = \\cos(x)$\n",
48 "* $f(x) = \\tan(x)$\n",
49 "* $f(x) = \\log(1+x)$\n",
50 "* $f(x) = \\sqrt[3]{1+x}$\n",
51 "\n",
52 "(b) Use Sage to get the Latex code that represents the objects you computed above.\n",
53 "\n",
54 "(c) Arrange the results of the previous points in a table in Latex. The table should have 4 columns (function, derivative, integral, series) and one row for each of the functions above. *Note: when including Latex in a Markdown cell in Jupyter you will not receive any warning if you make mistakes; instead the Latex will simply not be rendered and it will appear as plain text. If you have troubles making this work you can send me a separate .tex (and .pdf) file.*"
55 ]
56 },
57 {
58 "cell_type": "code",
59 "execution_count": null,
60 "metadata": {},
61 "outputs": [],
62 "source": [
63 "# Compute derivatives etc..."
64 ]
65 },
66 {
67 "cell_type": "code",
68 "execution_count": null,
69 "metadata": {},
70 "outputs": [],
71 "source": [
72 "# Compute Latex code"
73 ]
74 },
75 {
76 "cell_type": "markdown",
77 "metadata": {},
78 "source": [
79 "(Write your table here)"
80 ]
81 },
82 {
83 "cell_type": "markdown",
84 "metadata": {},
85 "source": [
86 "**Exercise 3 (4 points)**\n",
87 "\n",
88 "The equation\n",
89 "\\begin{align*}\n",
90 "y^2+x^{16}=1\n",
91 "\\end{align*}\n",
92 "determines a closed curve in $\\mathbb R^2$ that looks like a rounded square. Determine the area of that shape, giving both an exact value (which might depend on some functions that Sage knows, but you don't) and an approximate value."
93 ]
94 },
95 {
96 "cell_type": "code",
97 "execution_count": null,
98 "metadata": {},
99 "outputs": [],
100 "source": []
101 },
102 {
103 "cell_type": "markdown",
104 "metadata": {},
105 "source": [
106 "**Exercise 4 (12 points)**\n",
107 "\n",
108 "A team of biologists is monitoring the population of river shrimps in the Alzette. At first they thought that the size $P(t)$ of their population on day $t$ would satisfy the differential equation $P'(t)=P(t)/10$. However this does not work well with the data they have collected, so they now believe that the population of shrimps follows the formula $P'(t)=P(t)/10-b$ for some value of $b$ between 1 and 100. They need your help here.\n",
109 "\n",
110 "(a) Using Sage, find a solution for the differential equation with initial conditions\n",
111 "\\begin{align*}\n",
112 "\\begin{cases}\n",
113 "P'(t)&=\\frac{P(t)}{10}-b\\\\\n",
114 "P(1)&=1000\n",
115 "\\end{cases}\n",
116 "\\end{align*}\n",
117 "where $b$ is a generic constant.\n",
118 "\n",
119 "(b) The list `data` in the cell below contains the actual number of shrimps that was measured every day from day $1$ (the $0$ at the beginning is meaningless, but it will help to keep it there). Plot in one single picture, possibly using different colors for each:\n",
120 "* The data as a bar chart.\n",
121 "* A curve that interpolates the data, using one of the methods shown in class.\n",
122 "* The solution of the differential equation for $b=0$.\n",
123 "* The solution of the differential equation for a value of $b$ of your choice ($1\\leq b\\leq 100$) that fits the data better than $b=0$. *(For this last point there is no right or wrong choice, just pick one that looks good)*"
124 ]
125 },
126 {
127 "cell_type": "code",
128 "execution_count": null,
129 "metadata": {},
130 "outputs": [],
131 "source": [
132 "data = [0, 1000, 1123, 1223, 1190, 1432, 1553, 1709, 1826, 1980, 2146, 2172, 2383, 2588, 2822, 3401, 3330, 4157, 3994, 4995, 5392, 5910, 6468, 7128, 7325, 7984, 9634, 10473, 11761, 12777]\n"
133 ]
134 },
135 {
136 "cell_type": "markdown",
137 "metadata": {},
138 "source": [
139 "**Grading**\n",
140 "\n",
141 "This homework assignment is worth $28$ ($24+4$) points, distributed as described above.\n",
142 "\n",
143 "Your final grade for the course will be the total of points you obtained (notice that the maximum is $20+20+16+28=84$) divided by $4$, rounded to the nearest integer. More precisely\n",
144 "\n",
145 "\\begin{align*}\n",
146 "\\operatorname{grade} = \\operatorname{min}\\left(20, \\left\\lfloor \\frac{\\operatorname{total}}{4} + 0.5\\right\\rfloor\\right)\n",
147 "\\end{align*}"
148 ]
149 }
150 ],
151 "metadata": {
152 "kernelspec": {
153 "display_name": "SageMath 9.2",
154 "language": "sage",
155 "name": "sagemath"
156 },
157 "language_info": {
158 "codemirror_mode": {
159 "name": "ipython",
160 "version": 3
161 },
162 "file_extension": ".py",
163 "mimetype": "text/x-python",
164 "name": "python",
165 "nbconvert_exporter": "python",
166 "pygments_lexer": "ipython3",
167 "version": "3.8.5"
168 }
169 },
170 "nbformat": 4,
171 "nbformat_minor": 4
172}
diff --git a/src/Homework4/.ipynb_checkpoints/Homework4-solutions-checkpoint.ipynb b/src/Homework4/.ipynb_checkpoints/Homework4-solutions-checkpoint.ipynb
new file mode 100644
index 0000000..f8617fd
--- /dev/null
+++ b/src/Homework4/.ipynb_checkpoints/Homework4-solutions-checkpoint.ipynb
@@ -0,0 +1,61 @@
1{
2 "cells": [
3 {
4 "cell_type": "code",
5 "execution_count": 40,
6 "metadata": {},
7 "outputs": [
8 {
9 "name": "stdout",
10 "output_type": "stream",
11 "text": [
12 "f(x) \t Derivative \t Integral \t Series expansion\n",
13 "e^x \t e^x \t e^x \t 1 + 1*x + 1/2*x^2 + 1/6*x^3 + 1/24*x^4 + Order(x^5)\n",
14 "sin(x) \t cos(x) \t -cos(x) \t 1*x + (-1/6)*x^3 + Order(x^5)\n",
15 "cos(x) \t -sin(x) \t sin(x) \t 1 + (-1/2)*x^2 + 1/24*x^4 + Order(x^5)\n",
16 "tan(x) \t tan(x)^2 + 1 \t log(sec(x)) \t 1*x + 1/3*x^3 + Order(x^5)\n",
17 "log(x + 1) \t 1/(x + 1) \t (x + 1)*log(x + 1) - x - 1 \t 1*x + (-1/2)*x^2 + 1/3*x^3 + (-1/4)*x^4 + Order(x^5)\n",
18 "(x + 1)^a \t a*(x + 1)^(a - 1) \t (x + 1)^(a + 1)/(a + 1) \t 1 + (a)*x + (1/2*a^2 - 1/2*a)*x^2 + (1/6*a^3 - 1/2*a^2 + 1/3*a)*x^3 + (1/24*a^4 - 1/4*a^3 + 11/24*a^2 - 1/4*a)*x^4 + Order(x^5)\n"
19 ]
20 }
21 ],
22 "source": [
23 "print(\"f(x)\", \"\\t\", \"Derivative\", \"\\t\", \"Integral\", \"\\t\", \"Series expansion\")\n",
24 "var('a')\n",
25 "f(x) = (1+x)^a\n",
26 "assume(a>0)\n",
27 "functions = [e^x, sin, cos, tan, log(1+x), f]\n",
28 "for g in functions:\n",
29 " print(g(x), \"\\t\", derivative(g(x), x), \"\\t\", integral(g(x),x), \"\\t\", g(x).series(x==0,5))"
30 ]
31 },
32 {
33 "cell_type": "code",
34 "execution_count": null,
35 "metadata": {},
36 "outputs": [],
37 "source": []
38 }
39 ],
40 "metadata": {
41 "kernelspec": {
42 "display_name": "SageMath 9.2",
43 "language": "sage",
44 "name": "sagemath"
45 },
46 "language_info": {
47 "codemirror_mode": {
48 "name": "ipython",
49 "version": 3
50 },
51 "file_extension": ".py",
52 "mimetype": "text/x-python",
53 "name": "python",
54 "nbconvert_exporter": "python",
55 "pygments_lexer": "ipython3",
56 "version": "3.8.5"
57 }
58 },
59 "nbformat": 4,
60 "nbformat_minor": 4
61}
diff --git a/src/Homework4/.ipynb_checkpoints/Untitled-checkpoint.ipynb b/src/Homework4/.ipynb_checkpoints/Untitled-checkpoint.ipynb
new file mode 100644
index 0000000..7fec515
--- /dev/null
+++ b/src/Homework4/.ipynb_checkpoints/Untitled-checkpoint.ipynb
@@ -0,0 +1,6 @@
1{
2 "cells": [],
3 "metadata": {},
4 "nbformat": 4,
5 "nbformat_minor": 4
6}
diff --git a/src/Homework4/Homework4.aux b/src/Homework4/Homework4.aux
new file mode 100644
index 0000000..a74227c
--- /dev/null
+++ b/src/Homework4/Homework4.aux
@@ -0,0 +1,20 @@
1\relax
2\providecommand\hyper@newdestlabel[2]{}
3\providecommand\HyperFirstAtBeginDocument{\AtBeginDocument}
4\HyperFirstAtBeginDocument{\ifx\hyper@anchor\@undefined
5\global\let\oldcontentsline\contentsline
6\gdef\contentsline#1#2#3#4{\oldcontentsline{#1}{#2}{#3}}
7\global\let\oldnewlabel\newlabel
8\gdef\newlabel#1#2{\newlabelxx{#1}#2}
9\gdef\newlabelxx#1#2#3#4#5#6{\oldnewlabel{#1}{{#2}{#3}}}
10\AtEndDocument{\ifx\hyper@anchor\@undefined
11\let\contentsline\oldcontentsline
12\let\newlabel\oldnewlabel
13\fi}
14\fi}
15\global\let\hyper@last\relax
16\gdef\HyperFirstAtBeginDocument#1{#1}
17\providecommand\HyField@AuxAddToFields[1]{}
18\providecommand\HyField@AuxAddToCoFields[2]{}
19\providecommand \oddpage@label [2]{}
20\gdef \@abspage@last{2}
diff --git a/src/Homework4/Homework4.ipynb b/src/Homework4/Homework4.ipynb
new file mode 100644
index 0000000..99481b9
--- /dev/null
+++ b/src/Homework4/Homework4.ipynb
@@ -0,0 +1,172 @@
1{
2 "cells": [
3 {
4 "cell_type": "markdown",
5 "metadata": {},
6 "source": [
7 "*For this exercise you should have received this text in .ipynb format. Complete the exercises by modifying this file, and submit the modified version*\n",
8 "\n",
9 "**Deadline:** Sunday, June 6."
10 ]
11 },
12 {
13 "cell_type": "markdown",
14 "metadata": {},
15 "source": [
16 "**Exercise 1 (6 points)**\n",
17 "\n",
18 "Use Sage to find the intersection points *in the real plane* (that is, only those points such that *both* coordinates are real numbers) of the following pairs of geometric objects:\n",
19 "\n",
20 "* The circle of equation $x^2 + y^2 = 4$ and the ellipse of equation $\\left(\\frac x2\\right)^2 + (2y)^2 = 4$.\n",
21 "* The circle of equation $x^2 + y^2 = 4$ and the ellipse of equation $\\left(\\frac x2-2\\right)^2 + (2y)^2 = 4$.\n",
22 "* The curve of equation $y^2 = x^3 -x +1$ and the horizontal line $y=10$.\n",
23 "* The $x$-axis and the graph of the function $f(x)=\\log(x) - e^{-x}$. *Hint: $f(x)$ has only one real zero.*"
24 ]
25 },
26 {
27 "cell_type": "code",
28 "execution_count": null,
29 "metadata": {},
30 "outputs": [],
31 "source": []
32 },
33 {
34 "cell_type": "markdown",
35 "metadata": {},
36 "source": [
37 "**Exercise 2 (6 points)**\n",
38 "\n",
39 "(a) Use Sage to compute\n",
40 "* the derivative\n",
41 "* a primite (i.e. integral)\n",
42 "* the power series expansion around $0$ up to order $4$\n",
43 "\n",
44 "of the following functions:\n",
45 "* $f(x) = e^x$\n",
46 "* $f(x) = \\sin(x)$\n",
47 "* $f(x) = \\cos(x)$\n",
48 "* $f(x) = \\tan(x)$\n",
49 "* $f(x) = \\log(1+x)$\n",
50 "* $f(x) = \\sqrt[3]{1+x}$\n",
51 "\n",
52 "(b) Use Sage to get the Latex code that represents the objects you computed above.\n",
53 "\n",
54 "(c) Arrange the results of the previous points in a table in Latex. The table should have 4 columns (function, derivative, integral, series) and one row for each of the functions above. *Note: when including Latex in a Markdown cell in Jupyter you will not receive any warning if you make mistakes; instead the Latex will simply not be rendered and it will appear as plain text. If you have troubles making this work you can send me a separate .tex (and .pdf) file.*"
55 ]
56 },
57 {
58 "cell_type": "code",
59 "execution_count": null,
60 "metadata": {},
61 "outputs": [],
62 "source": [
63 "# Compute derivatives etc..."
64 ]
65 },
66 {
67 "cell_type": "code",
68 "execution_count": null,
69 "metadata": {},
70 "outputs": [],
71 "source": [
72 "# Compute Latex code"
73 ]
74 },
75 {
76 "cell_type": "markdown",
77 "metadata": {},
78 "source": [
79 "(Write your table here)"
80 ]
81 },
82 {
83 "cell_type": "markdown",
84 "metadata": {},
85 "source": [
86 "**Exercise 3 (4 points)**\n",
87 "\n",
88 "The equation\n",
89 "\\begin{align*}\n",
90 "y^2+x^{16}=1\n",
91 "\\end{align*}\n",
92 "determines a closed curve in $\\mathbb R^2$ that looks like a rounded square. Determine the area of that shape, giving both an exact value (which might depend on some functions that Sage knows, but you don't) and an approximate value."
93 ]
94 },
95 {
96 "cell_type": "code",
97 "execution_count": null,
98 "metadata": {},
99 "outputs": [],
100 "source": []
101 },
102 {
103 "cell_type": "markdown",
104 "metadata": {},
105 "source": [
106 "**Exercise 4 (12 points)**\n",
107 "\n",
108 "A team of biologists is monitoring the population of river shrimps in the Alzette. At first they thought that the size $P(t)$ of their population on day $t$ would satisfy the differential equation $P'(t)=P(t)/10$. However this does not work well with the data they have collected, so they now believe that the population of shrimps follows the formula $P'(t)=P(t)/10-b$ for some value of $b$ between 1 and 100. They need your help here.\n",
109 "\n",
110 "(a) Using Sage, find a solution for the differential equation with initial conditions\n",
111 "\\begin{align*}\n",
112 "\\begin{cases}\n",
113 "P'(t)&=\\frac{P(t)}{10}-b\\\\\n",
114 "P(1)&=1000\n",
115 "\\end{cases}\n",
116 "\\end{align*}\n",
117 "where $b$ is a generic constant.\n",
118 "\n",
119 "(b) The list `data` in the cell below contains the actual number of shrimps that was measured every day from day $1$ (the $0$ at the beginning is meaningless, but it will help to keep it there). Plot in one single picture, possibly using different colors for each:\n",
120 "* The data as a bar chart.\n",
121 "* A curve that interpolates the data, using one of the methods shown in class.\n",
122 "* The solution of the differential equation for $b=0$.\n",
123 "* The solution of the differential equation for a value of $b$ of your choice ($1\\leq b\\leq 100$) that fits the data better than $b=0$. *(For this last point there is no right or wrong choice, just pick one that looks good)*"
124 ]
125 },
126 {
127 "cell_type": "code",
128 "execution_count": null,
129 "metadata": {},
130 "outputs": [],
131 "source": [
132 "data = [0, 1000, 1123, 1223, 1190, 1432, 1553, 1709, 1826, 1980, 2146, 2172, 2383, 2588, 2822, 3401, 3330, 4157, 3994, 4995, 5392, 5910, 6468, 7128, 7325, 7984, 9634, 10473, 11761, 12777]\n"
133 ]
134 },
135 {
136 "cell_type": "markdown",
137 "metadata": {},
138 "source": [
139 "**Grading**\n",
140 "\n",
141 "This homework assignment is worth $28$ ($24+4$) points, distributed as described above.\n",
142 "\n",
143 "Your final grade for the course will be the total of points you obtained (notice that the maximum is $20+20+16+28=84$) divided by $4$, rounded to the nearest integer. More precisely\n",
144 "\n",
145 "\\begin{align*}\n",
146 "\\operatorname{grade} = \\operatorname{min}\\left(20, \\left\\lfloor \\frac{\\operatorname{total}}{4} + 0.5\\right\\rfloor\\right)\n",
147 "\\end{align*}"
148 ]
149 }
150 ],
151 "metadata": {
152 "kernelspec": {
153 "display_name": "SageMath 9.0",
154 "language": "sage",
155 "name": "sagemath"
156 },
157 "language_info": {
158 "codemirror_mode": {
159 "name": "ipython",
160 "version": 3
161 },
162 "file_extension": ".py",
163 "mimetype": "text/x-python",
164 "name": "python",
165 "nbconvert_exporter": "python",
166 "pygments_lexer": "ipython3",
167 "version": "3.8.5"
168 }
169 },
170 "nbformat": 4,
171 "nbformat_minor": 4
172}
diff --git a/src/Homework4/Homework4.log b/src/Homework4/Homework4.log
new file mode 100644
index 0000000..576cde7
--- /dev/null
+++ b/src/Homework4/Homework4.log
@@ -0,0 +1,953 @@
1This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020/VoidLinux) (preloaded format=pdflatex 2021.4.20) 12 MAY 2021 14:24
2entering extended mode
3 \write18 enabled.
4 %&-line parsing enabled.
5**Homework4.tex
6(./Homework4.tex
7LaTeX2e <2020-10-01> patch level 2
8L3 programming layer <2020-12-03> xparse <2020-03-03>
9(/usr/share/texmf-dist/tex/latex/base/article.cls
10Document Class: article 2020/04/10 v1.4m Standard LaTeX document class
11(/usr/share/texmf-dist/tex/latex/base/size11.clo
12File: size11.clo 2020/04/10 v1.4m Standard LaTeX file (size option)
13)
14\c@part=\count177
15\c@section=\count178
16\c@subsection=\count179
17\c@subsubsection=\count180
18\c@paragraph=\count181
19\c@subparagraph=\count182
20\c@figure=\count183
21\c@table=\count184
22\abovecaptionskip=\skip47
23\belowcaptionskip=\skip48
24\bibindent=\dimen138
25)
26(/usr/share/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty
27Package: tcolorbox 2020/10/09 version 4.42 text color boxes
28
29(/usr/share/texmf-dist/tex/latex/pgf/basiclayer/pgf.sty
30(/usr/share/texmf-dist/tex/latex/pgf/utilities/pgfrcs.sty
31(/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.tex
32\pgfutil@everybye=\toks15
33\pgfutil@tempdima=\dimen139
34\pgfutil@tempdimb=\dimen140
35
36(/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-common-lists.tex))
37(/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfutil-latex.def
38\pgfutil@abb=\box47
39)
40(/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex
41(/usr/share/texmf-dist/tex/generic/pgf/pgf.revision.tex)
42Package: pgfrcs 2020/12/01 v3.1.7a (3.1.7a)
43))
44Package: pgf 2020/12/01 v3.1.7a (3.1.7a)
45
46(/usr/share/texmf-dist/tex/latex/pgf/basiclayer/pgfcore.sty
47(/usr/share/texmf-dist/tex/latex/graphics/graphicx.sty
48Package: graphicx 2020/09/09 v1.2b Enhanced LaTeX Graphics (DPC,SPQR)
49
50(/usr/share/texmf-dist/tex/latex/graphics/keyval.sty
51Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
52\KV@toks@=\toks16
53)
54(/usr/share/texmf-dist/tex/latex/graphics/graphics.sty
55Package: graphics 2020/08/30 v1.4c Standard LaTeX Graphics (DPC,SPQR)
56
57(/usr/share/texmf-dist/tex/latex/graphics/trig.sty
58Package: trig 2016/01/03 v1.10 sin cos tan (DPC)
59)
60(/usr/share/texmf-dist/tex/latex/graphics-cfg/graphics.cfg
61File: graphics.cfg 2016/06/04 v1.11 sample graphics configuration
62)
63Package graphics Info: Driver file: pdftex.def on input line 105.
64
65(/usr/share/texmf-dist/tex/latex/graphics-def/pdftex.def
66File: pdftex.def 2020/10/05 v1.2a Graphics/color driver for pdftex
67))
68\Gin@req@height=\dimen141
69\Gin@req@width=\dimen142
70)
71(/usr/share/texmf-dist/tex/latex/pgf/systemlayer/pgfsys.sty
72(/usr/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex
73Package: pgfsys 2020/12/01 v3.1.7a (3.1.7a)
74
75(/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
76\pgfkeys@pathtoks=\toks17
77\pgfkeys@temptoks=\toks18
78
79(/usr/share/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.code.tex
80\pgfkeys@tmptoks=\toks19
81))
82\pgf@x=\dimen143
83\pgf@y=\dimen144
84\pgf@xa=\dimen145
85\pgf@ya=\dimen146
86\pgf@xb=\dimen147
87\pgf@yb=\dimen148
88\pgf@xc=\dimen149
89\pgf@yc=\dimen150
90\pgf@xd=\dimen151
91\pgf@yd=\dimen152
92\w@pgf@writea=\write3
93\r@pgf@reada=\read2
94\c@pgf@counta=\count185
95\c@pgf@countb=\count186
96\c@pgf@countc=\count187
97\c@pgf@countd=\count188
98\t@pgf@toka=\toks20
99\t@pgf@tokb=\toks21
100\t@pgf@tokc=\toks22
101\pgf@sys@id@count=\count189
102
103(/usr/share/texmf-dist/tex/generic/pgf/systemlayer/pgf.cfg
104File: pgf.cfg 2020/12/01 v3.1.7a (3.1.7a)
105)
106Driver file for pgf: pgfsys-pdftex.def
107
108(/usr/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-pdftex.def
109File: pgfsys-pdftex.def 2020/12/01 v3.1.7a (3.1.7a)
110
111(/usr/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-pdf.def
112File: pgfsys-common-pdf.def 2020/12/01 v3.1.7a (3.1.7a)
113)))
114(/usr/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.tex
115File: pgfsyssoftpath.code.tex 2020/12/01 v3.1.7a (3.1.7a)
116\pgfsyssoftpath@smallbuffer@items=\count190
117\pgfsyssoftpath@bigbuffer@items=\count191
118)
119(/usr/share/texmf-dist/tex/generic/pgf/systemlayer/pgfsysprotocol.code.tex
120File: pgfsysprotocol.code.tex 2020/12/01 v3.1.7a (3.1.7a)
121))
122(/usr/share/texmf-dist/tex/latex/xcolor/xcolor.sty
123Package: xcolor 2016/05/11 v2.12 LaTeX color extensions (UK)
124
125(/usr/share/texmf-dist/tex/latex/graphics-cfg/color.cfg
126File: color.cfg 2016/01/02 v1.6 sample color configuration
127)
128Package xcolor Info: Driver file: pdftex.def on input line 225.
129Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1348.
130Package xcolor Info: Model `hsb' substituted by `rgb' on input line 1352.
131Package xcolor Info: Model `RGB' extended on input line 1364.
132Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1366.
133Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1367.
134Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1368.
135Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1369.
136Package xcolor Info: Model `Gray' substituted by `gray' on input line 1370.
137Package xcolor Info: Model `wave' substituted by `hsb' on input line 1371.
138)
139(/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcore.code.tex
140Package: pgfcore 2020/12/01 v3.1.7a (3.1.7a)
141
142(/usr/share/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex
143(/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathcalc.code.tex
144(/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathutil.code.tex)
145(/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathparser.code.tex
146\pgfmath@dimen=\dimen153
147\pgfmath@count=\count192
148\pgfmath@box=\box48
149\pgfmath@toks=\toks23
150\pgfmath@stack@operand=\toks24
151\pgfmath@stack@operation=\toks25
152)
153(/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.code.tex
154(/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.basic.code.tex)
155(/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.trigonometric.code
156.tex)
157(/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.random.code.tex)
158(/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.comparison.code.te
159x) (/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.base.code.tex)
160(/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.round.code.tex)
161(/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.misc.code.tex)
162(/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.integerarithmetics
163.code.tex))) (/usr/share/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.tex
164\c@pgfmathroundto@lastzeros=\count193
165)) (/usr/share/texmf-dist/tex/generic/pgf/math/pgfint.code.tex)
166(/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepoints.code.tex
167File: pgfcorepoints.code.tex 2020/12/01 v3.1.7a (3.1.7a)
168\pgf@picminx=\dimen154
169\pgf@picmaxx=\dimen155
170\pgf@picminy=\dimen156
171\pgf@picmaxy=\dimen157
172\pgf@pathminx=\dimen158
173\pgf@pathmaxx=\dimen159
174\pgf@pathminy=\dimen160
175\pgf@pathmaxy=\dimen161
176\pgf@xx=\dimen162
177\pgf@xy=\dimen163
178\pgf@yx=\dimen164
179\pgf@yy=\dimen165
180\pgf@zx=\dimen166
181\pgf@zy=\dimen167
182)
183(/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathconstruct.code.tex
184File: pgfcorepathconstruct.code.tex 2020/12/01 v3.1.7a (3.1.7a)
185\pgf@path@lastx=\dimen168
186\pgf@path@lasty=\dimen169
187) (/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathusage.code.tex
188File: pgfcorepathusage.code.tex 2020/12/01 v3.1.7a (3.1.7a)
189\pgf@shorten@end@additional=\dimen170
190\pgf@shorten@start@additional=\dimen171
191)
192(/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorescopes.code.tex
193File: pgfcorescopes.code.tex 2020/12/01 v3.1.7a (3.1.7a)
194\pgfpic=\box49
195\pgf@hbox=\box50
196\pgf@layerbox@main=\box51
197\pgf@picture@serial@count=\count194
198)
199(/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoregraphicstate.code.tex
200File: pgfcoregraphicstate.code.tex 2020/12/01 v3.1.7a (3.1.7a)
201\pgflinewidth=\dimen172
202)
203(/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransformations.code.t
204ex
205File: pgfcoretransformations.code.tex 2020/12/01 v3.1.7a (3.1.7a)
206\pgf@pt@x=\dimen173
207\pgf@pt@y=\dimen174
208\pgf@pt@temp=\dimen175
209) (/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorequick.code.tex
210File: pgfcorequick.code.tex 2020/12/01 v3.1.7a (3.1.7a)
211)
212(/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreobjects.code.tex
213File: pgfcoreobjects.code.tex 2020/12/01 v3.1.7a (3.1.7a)
214)
215(/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathprocessing.code.te
216x
217File: pgfcorepathprocessing.code.tex 2020/12/01 v3.1.7a (3.1.7a)
218) (/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorearrows.code.tex
219File: pgfcorearrows.code.tex 2020/12/01 v3.1.7a (3.1.7a)
220\pgfarrowsep=\dimen176
221)
222(/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreshade.code.tex
223File: pgfcoreshade.code.tex 2020/12/01 v3.1.7a (3.1.7a)
224\pgf@max=\dimen177
225\pgf@sys@shading@range@num=\count195
226\pgf@shadingcount=\count196
227)
228(/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreimage.code.tex
229File: pgfcoreimage.code.tex 2020/12/01 v3.1.7a (3.1.7a)
230
231(/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreexternal.code.tex
232File: pgfcoreexternal.code.tex 2020/12/01 v3.1.7a (3.1.7a)
233\pgfexternal@startupbox=\box52
234))
235(/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorelayers.code.tex
236File: pgfcorelayers.code.tex 2020/12/01 v3.1.7a (3.1.7a)
237)
238(/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransparency.code.tex
239File: pgfcoretransparency.code.tex 2020/12/01 v3.1.7a (3.1.7a)
240) (/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepatterns.code.tex
241File: pgfcorepatterns.code.tex 2020/12/01 v3.1.7a (3.1.7a)
242)
243(/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorerdf.code.tex
244File: pgfcorerdf.code.tex 2020/12/01 v3.1.7a (3.1.7a)
245)))
246(/usr/share/texmf-dist/tex/generic/pgf/modules/pgfmoduleshapes.code.tex
247File: pgfmoduleshapes.code.tex 2020/12/01 v3.1.7a (3.1.7a)
248\pgfnodeparttextbox=\box53
249)
250(/usr/share/texmf-dist/tex/generic/pgf/modules/pgfmoduleplot.code.tex
251File: pgfmoduleplot.code.tex 2020/12/01 v3.1.7a (3.1.7a)
252)
253(/usr/share/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version-0-65.sty
254Package: pgfcomp-version-0-65 2020/12/01 v3.1.7a (3.1.7a)
255\pgf@nodesepstart=\dimen178
256\pgf@nodesepend=\dimen179
257)
258(/usr/share/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version-1-18.sty
259Package: pgfcomp-version-1-18 2020/12/01 v3.1.7a (3.1.7a)
260))
261(/usr/share/texmf-dist/tex/latex/tools/verbatim.sty
262Package: verbatim 2020-07-07 v1.5u LaTeX2e package for verbatim enhancements
263\every@verbatim=\toks26
264\verbatim@line=\toks27
265\verbatim@in@stream=\read3
266)
267(/usr/share/texmf-dist/tex/latex/environ/environ.sty
268Package: environ 2014/05/04 v0.3 A new way to define environments
269
270(/usr/share/texmf-dist/tex/latex/trimspaces/trimspaces.sty
271Package: trimspaces 2009/09/17 v1.1 Trim spaces around a token list
272)
273\@envbody=\toks28
274)
275(/usr/share/texmf-dist/tex/latex/etoolbox/etoolbox.sty
276Package: etoolbox 2020/10/05 v2.5k e-TeX tools for LaTeX (JAW)
277\etb@tempcnta=\count197
278)
279\tcb@titlebox=\box54
280\tcb@upperbox=\box55
281\tcb@lowerbox=\box56
282\tcb@phantombox=\box57
283\c@tcbbreakpart=\count198
284\c@tcblayer=\count199
285\c@tcolorbox@number=\count266
286\tcb@temp=\box58
287\tcb@temp=\box59
288\tcb@temp=\box60
289\tcb@temp=\box61
290\tcb@out=\write4
291\tcb@record@out=\write5
292
293(/usr/share/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex
294Library (tcolorbox): 'tcbbreakable.code.tex' version '4.42'
295(/usr/share/texmf-dist/tex/generic/oberdiek/pdfcol.sty
296Package: pdfcol 2019/12/29 v1.6 Handle new color stacks for pdfTeX (HO)
297
298(/usr/share/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty
299Package: ltxcmds 2020-05-10 v1.25 LaTeX kernel commands for general use (HO)
300)
301(/usr/share/texmf-dist/tex/generic/infwarerr/infwarerr.sty
302Package: infwarerr 2019/12/03 v1.5 Providing info/warning/error messages (HO)
303)
304(/usr/share/texmf-dist/tex/generic/iftex/iftex.sty
305Package: iftex 2020/03/06 v1.0d TeX engine tests
306))
307Package pdfcol Info: New color stack `tcb@breakable' = 1 on input line 23.
308\tcb@testbox=\box62
309\tcb@totalupperbox=\box63
310\tcb@totallowerbox=\box64
311))
312(/usr/share/texmf-dist/tex/latex/parskip/parskip.sty
313Package: parskip 2020-06-15 v2.0f non-zero parskip adjustments
314
315(/usr/share/texmf-dist/tex/latex/kvoptions/kvoptions.sty
316Package: kvoptions 2020-10-07 v3.14 Key value format for package options (HO)
317
318(/usr/share/texmf-dist/tex/generic/kvsetkeys/kvsetkeys.sty
319Package: kvsetkeys 2019/12/15 v1.18 Key value parser (HO)
320)))
321(/usr/share/texmf-dist/tex/latex/base/fontenc.sty
322Package: fontenc 2020/08/10 v2.0s Standard LaTeX package
323)
324(/usr/share/texmf-dist/tex/latex/psnfss/mathpazo.sty
325Package: mathpazo 2020/03/25 PSNFSS-v9.3 Palatino w/ Pazo Math (D.Puga, WaS)
326\symupright=\mathgroup4
327)
328(/usr/share/texmf-dist/tex/latex/caption/caption.sty
329Package: caption 2020/10/26 v3.5g Customizing captions (AR)
330
331(/usr/share/texmf-dist/tex/latex/caption/caption3.sty
332Package: caption3 2020/10/21 v2.2e caption3 kernel (AR)
333\captionmargin=\dimen180
334\captionmargin@=\dimen181
335\captionwidth=\dimen182
336\caption@tempdima=\dimen183
337\caption@indent=\dimen184
338\caption@parindent=\dimen185
339\caption@hangindent=\dimen186
340Package caption Info: Standard document class detected.
341)
342\c@caption@flags=\count267
343\c@continuedfloat=\count268
344)
345(/usr/share/texmf-dist/tex/latex/adjustbox/adjustbox.sty
346Package: adjustbox 2020/08/19 v1.3 Adjusting TeX boxes (trim, clip, ...)
347
348(/usr/share/texmf-dist/tex/latex/xkeyval/xkeyval.sty
349Package: xkeyval 2020/11/20 v2.8 package option processing (HA)
350
351(/usr/share/texmf-dist/tex/generic/xkeyval/xkeyval.tex
352(/usr/share/texmf-dist/tex/generic/xkeyval/xkvutils.tex
353\XKV@toks=\toks29
354\XKV@tempa@toks=\toks30
355)
356\XKV@depth=\count269
357File: xkeyval.tex 2014/12/03 v2.7a key=value parser (HA)
358))
359(/usr/share/texmf-dist/tex/latex/adjustbox/adjcalc.sty
360Package: adjcalc 2012/05/16 v1.1 Provides advanced setlength with multiple back
361-ends (calc, etex, pgfmath)
362)
363(/usr/share/texmf-dist/tex/latex/adjustbox/trimclip.sty
364Package: trimclip 2020/08/19 v1.2 Trim and clip general TeX material
365
366(/usr/share/texmf-dist/tex/latex/collectbox/collectbox.sty
367Package: collectbox 2012/05/17 v0.4b Collect macro arguments as boxes
368\collectedbox=\box65
369)
370\tc@llx=\dimen187
371\tc@lly=\dimen188
372\tc@urx=\dimen189
373\tc@ury=\dimen190
374Package trimclip Info: Using driver 'tc-pdftex.def'.
375
376(/usr/share/texmf-dist/tex/latex/adjustbox/tc-pdftex.def
377File: tc-pdftex.def 2019/01/04 v2.2 Clipping driver for pdftex
378))
379\adjbox@Width=\dimen191
380\adjbox@Height=\dimen192
381\adjbox@Depth=\dimen193
382\adjbox@Totalheight=\dimen194
383\adjbox@pwidth=\dimen195
384\adjbox@pheight=\dimen196
385\adjbox@pdepth=\dimen197
386\adjbox@ptotalheight=\dimen198
387
388(/usr/share/texmf-dist/tex/latex/ifoddpage/ifoddpage.sty
389Package: ifoddpage 2016/04/23 v1.1 Conditionals for odd/even page detection
390\c@checkoddpage=\count270
391)
392(/usr/share/texmf-dist/tex/latex/varwidth/varwidth.sty
393Package: varwidth 2009/03/30 ver 0.92; Variable-width minipages
394\@vwid@box=\box66
395\sift@deathcycles=\count271
396\@vwid@loff=\dimen199
397\@vwid@roff=\dimen256
398))
399(/usr/share/texmf-dist/tex/latex/float/float.sty
400Package: float 2001/11/08 v1.3d Float enhancements (AL)
401\c@float@type=\count272
402\float@exts=\toks31
403\float@box=\box67
404\@float@everytoks=\toks32
405\@floatcapt=\box68
406)
407(/usr/share/texmf-dist/tex/latex/tools/enumerate.sty
408Package: enumerate 2015/07/23 v3.00 enumerate extensions (DPC)
409\@enLab=\toks33
410)
411(/usr/share/texmf-dist/tex/latex/geometry/geometry.sty
412Package: geometry 2020/01/02 v5.9 Page Geometry
413
414(/usr/share/texmf-dist/tex/generic/iftex/ifvtex.sty
415Package: ifvtex 2019/10/25 v1.7 ifvtex legacy package. Use iftex instead.
416)
417\Gm@cnth=\count273
418\Gm@cntv=\count274
419\c@Gm@tempcnt=\count275
420\Gm@bindingoffset=\dimen257
421\Gm@wd@mp=\dimen258
422\Gm@odd@mp=\dimen259
423\Gm@even@mp=\dimen260
424\Gm@layoutwidth=\dimen261
425\Gm@layoutheight=\dimen262
426\Gm@layouthoffset=\dimen263
427\Gm@layoutvoffset=\dimen264
428\Gm@dimlist=\toks34
429)
430(/usr/share/texmf-dist/tex/latex/amsmath/amsmath.sty
431Package: amsmath 2020/09/23 v2.17i AMS math features
432\@mathmargin=\skip49
433
434For additional information on amsmath, use the `?' option.
435(/usr/share/texmf-dist/tex/latex/amsmath/amstext.sty
436Package: amstext 2000/06/29 v2.01 AMS text
437
438(/usr/share/texmf-dist/tex/latex/amsmath/amsgen.sty
439File: amsgen.sty 1999/11/30 v2.0 generic functions
440\@emptytoks=\toks35
441\ex@=\dimen265
442))
443(/usr/share/texmf-dist/tex/latex/amsmath/amsbsy.sty
444Package: amsbsy 1999/11/29 v1.2d Bold Symbols
445\pmbraise@=\dimen266
446)
447(/usr/share/texmf-dist/tex/latex/amsmath/amsopn.sty
448Package: amsopn 2016/03/08 v2.02 operator names
449)
450\inf@bad=\count276
451LaTeX Info: Redefining \frac on input line 234.
452\uproot@=\count277
453\leftroot@=\count278
454LaTeX Info: Redefining \overline on input line 399.
455\classnum@=\count279
456\DOTSCASE@=\count280
457LaTeX Info: Redefining \ldots on input line 496.
458LaTeX Info: Redefining \dots on input line 499.
459LaTeX Info: Redefining \cdots on input line 620.
460\Mathstrutbox@=\box69
461\strutbox@=\box70
462\big@size=\dimen267
463LaTeX Font Info: Redeclaring font encoding OML on input line 743.
464LaTeX Font Info: Redeclaring font encoding OMS on input line 744.
465\macc@depth=\count281
466\c@MaxMatrixCols=\count282
467\dotsspace@=\muskip16
468\c@parentequation=\count283
469\dspbrk@lvl=\count284
470\tag@help=\toks36
471\row@=\count285
472\column@=\count286
473\maxfields@=\count287
474\andhelp@=\toks37
475\eqnshift@=\dimen268
476\alignsep@=\dimen269
477\tagshift@=\dimen270
478\tagwidth@=\dimen271
479\totwidth@=\dimen272
480\lineht@=\dimen273
481\@envbody=\toks38
482\multlinegap=\skip50
483\multlinetaggap=\skip51
484\mathdisplay@stack=\toks39
485LaTeX Info: Redefining \[ on input line 2923.
486LaTeX Info: Redefining \] on input line 2924.
487)
488(/usr/share/texmf-dist/tex/latex/amsfonts/amssymb.sty
489Package: amssymb 2013/01/14 v3.01 AMS font symbols
490
491(/usr/share/texmf-dist/tex/latex/amsfonts/amsfonts.sty
492Package: amsfonts 2013/01/14 v3.01 Basic AMSFonts support
493\symAMSa=\mathgroup5
494\symAMSb=\mathgroup6
495LaTeX Font Info: Redeclaring math symbol \hbar on input line 98.
496LaTeX Font Info: Overwriting math alphabet `\mathfrak' in version `bold'
497(Font) U/euf/m/n --> U/euf/b/n on input line 106.
498))
499(/usr/share/texmf-dist/tex/latex/base/textcomp.sty
500Package: textcomp 2020/02/02 v2.0n Standard LaTeX package
501)
502(/usr/share/texmf-dist/tex/latex/upquote/upquote.sty
503Package: upquote 2012/04/19 v1.3 upright-quote and grave-accent glyphs in verba
504tim
505)
506(/usr/share/texmf-dist/tex/latex/eurosym/eurosym.sty
507Package: eurosym 1998/08/06 v1.1 European currency symbol ``Euro''
508\@eurobox=\box71
509)
510(/usr/share/texmf-dist/tex/latex/ucs/ucs.sty
511Package: ucs 2013/05/11 v2.2 UCS: Unicode input support
512
513(/usr/share/texmf-dist/tex/latex/ucs/data/uni-global.def
514File: uni-global.def 2013/05/13 UCS: Unicode global data
515)
516\uc@secondtry=\count288
517\uc@combtoks=\toks40
518\uc@combtoksb=\toks41
519\uc@temptokena=\toks42
520)
521(/usr/share/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty
522Package: fancyvrb 2020/05/03 v3.6 verbatim text (tvz,hv)
523\FV@CodeLineNo=\count289
524\FV@InFile=\read4
525\FV@TabBox=\box72
526\c@FancyVerbLine=\count290
527\FV@StepNumber=\count291
528\FV@OutFile=\write6
529)
530(/usr/share/texmf-dist/tex/latex/grffile/grffile.sty
531Package: grffile 2019/11/11 v2.1 Extended file name support for graphics (legac
532y)
533Package grffile Info: This package is an empty stub for compatibility on input
534line 40.
535)
536(/usr/share/texmf-dist/tex/latex/hyperref/hyperref.sty
537Package: hyperref 2020-05-15 v7.00e Hypertext links for LaTeX
538
539(/usr/share/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty
540Package: pdftexcmds 2020-06-27 v0.33 Utility functions of pdfTeX for LuaTeX (HO
541)
542Package pdftexcmds Info: \pdf@primitive is available.
543Package pdftexcmds Info: \pdf@ifprimitive is available.
544Package pdftexcmds Info: \pdfdraftmode found.
545)
546(/usr/share/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty
547Package: kvdefinekeys 2019-12-19 v1.6 Define keys (HO)
548)
549(/usr/share/texmf-dist/tex/generic/pdfescape/pdfescape.sty
550Package: pdfescape 2019/12/09 v1.15 Implements pdfTeX's escape features (HO)
551)
552(/usr/share/texmf-dist/tex/latex/hycolor/hycolor.sty
553Package: hycolor 2020-01-27 v1.10 Color options for hyperref/bookmark (HO)
554)
555(/usr/share/texmf-dist/tex/latex/letltxmacro/letltxmacro.sty
556Package: letltxmacro 2019/12/03 v1.6 Let assignment for LaTeX macros (HO)
557)
558(/usr/share/texmf-dist/tex/latex/auxhook/auxhook.sty
559Package: auxhook 2019-12-17 v1.6 Hooks for auxiliary files (HO)
560)
561\@linkdim=\dimen274
562\Hy@linkcounter=\count292
563\Hy@pagecounter=\count293
564
565(/usr/share/texmf-dist/tex/latex/hyperref/pd1enc.def
566File: pd1enc.def 2020-05-15 v7.00e Hyperref: PDFDocEncoding definition (HO)
567Now handling font encoding PD1 ...
568... no UTF-8 mapping file for font encoding PD1
569)
570(/usr/share/texmf-dist/tex/generic/intcalc/intcalc.sty
571Package: intcalc 2019/12/15 v1.3 Expandable calculations with integers (HO)
572)
573(/usr/share/texmf-dist/tex/generic/etexcmds/etexcmds.sty
574Package: etexcmds 2019/12/15 v1.7 Avoid name clashes with e-TeX commands (HO)
575)
576\Hy@SavedSpaceFactor=\count294
577Package hyperref Info: Hyper figures OFF on input line 4464.
578Package hyperref Info: Link nesting OFF on input line 4469.
579Package hyperref Info: Hyper index ON on input line 4472.
580Package hyperref Info: Plain pages OFF on input line 4479.
581Package hyperref Info: Backreferencing OFF on input line 4484.
582Package hyperref Info: Implicit mode ON; LaTeX internals redefined.
583Package hyperref Info: Bookmarks ON on input line 4717.
584\c@Hy@tempcnt=\count295
585
586(/usr/share/texmf-dist/tex/latex/url/url.sty
587\Urlmuskip=\muskip17
588Package: url 2013/09/16 ver 3.4 Verb mode for urls, etc.
589)
590LaTeX Info: Redefining \url on input line 5076.
591\XeTeXLinkMargin=\dimen275
592
593(/usr/share/texmf-dist/tex/generic/bitset/bitset.sty
594Package: bitset 2019/12/09 v1.3 Handle bit-vector datatype (HO)
595
596(/usr/share/texmf-dist/tex/generic/bigintcalc/bigintcalc.sty
597Package: bigintcalc 2019/12/15 v1.5 Expandable calculations on big integers (HO
598)
599))
600\Fld@menulength=\count296
601\Field@Width=\dimen276
602\Fld@charsize=\dimen277
603Package hyperref Info: Hyper figures OFF on input line 6347.
604Package hyperref Info: Link nesting OFF on input line 6352.
605Package hyperref Info: Hyper index ON on input line 6355.
606Package hyperref Info: backreferencing OFF on input line 6362.
607Package hyperref Info: Link coloring OFF on input line 6367.
608Package hyperref Info: Link coloring with OCG OFF on input line 6372.
609Package hyperref Info: PDF/A mode OFF on input line 6377.
610LaTeX Info: Redefining \ref on input line 6417.
611LaTeX Info: Redefining \pageref on input line 6421.
612
613(/usr/share/texmf-dist/tex/latex/base/atbegshi-ltx.sty
614Package: atbegshi-ltx 2020/08/17 v1.0a Emulation of the original atbegshi packa
615ge
616with kernel methods
617)
618\Hy@abspage=\count297
619\c@Item=\count298
620\c@Hfootnote=\count299
621)
622Package hyperref Info: Driver (autodetected): hpdftex.
623
624(/usr/share/texmf-dist/tex/latex/hyperref/hpdftex.def
625File: hpdftex.def 2020-05-15 v7.00e Hyperref driver for pdfTeX
626
627(/usr/share/texmf-dist/tex/latex/base/atveryend-ltx.sty
628Package: atveryend-ltx 2020/08/19 v1.0a Emulation of the original atvery packag
629e
630with kernel methods
631)
632\Fld@listcount=\count300
633\c@bookmark@seq@number=\count301
634
635(/usr/share/texmf-dist/tex/latex/rerunfilecheck/rerunfilecheck.sty
636Package: rerunfilecheck 2019/12/05 v1.9 Rerun checks for auxiliary files (HO)
637
638(/usr/share/texmf-dist/tex/generic/uniquecounter/uniquecounter.sty
639Package: uniquecounter 2019/12/15 v1.4 Provide unlimited unique counter (HO)
640)
641Package uniquecounter Info: New unique counter `rerunfilecheck' on input line 2
64286.
643)
644\Hy@SectionHShift=\skip52
645)
646(/usr/share/texmf-dist/tex/latex/titling/titling.sty
647Package: titling 2009/09/04 v2.1d maketitle typesetting
648\thanksmarkwidth=\skip53
649\thanksmargin=\skip54
650\droptitle=\skip55
651)
652(/usr/share/texmf-dist/tex/latex/tools/longtable.sty
653Package: longtable 2020/01/07 v4.13 Multi-page Table package (DPC)
654\LTleft=\skip56
655\LTright=\skip57
656\LTpre=\skip58
657\LTpost=\skip59
658\LTchunksize=\count302
659\LTcapwidth=\dimen278
660\LT@head=\box73
661\LT@firsthead=\box74
662\LT@foot=\box75
663\LT@lastfoot=\box76
664\LT@cols=\count303
665\LT@rows=\count304
666\c@LT@tables=\count305
667\c@LT@chunks=\count306
668\LT@p@ftn=\toks43
669)
670(/usr/share/texmf-dist/tex/latex/booktabs/booktabs.sty
671Package: booktabs 2020/01/12 v1.61803398 Publication quality tables
672\heavyrulewidth=\dimen279
673\lightrulewidth=\dimen280
674\cmidrulewidth=\dimen281
675\belowrulesep=\dimen282
676\belowbottomsep=\dimen283
677\aboverulesep=\dimen284
678\abovetopsep=\dimen285
679\cmidrulesep=\dimen286
680\cmidrulekern=\dimen287
681\defaultaddspace=\dimen288
682\@cmidla=\count307
683\@cmidlb=\count308
684\@aboverulesep=\dimen289
685\@belowrulesep=\dimen290
686\@thisruleclass=\count309
687\@lastruleclass=\count310
688\@thisrulewidth=\dimen291
689)
690(/usr/share/texmf-dist/tex/latex/enumitem/enumitem.sty
691Package: enumitem 2019/06/20 v3.9 Customized lists
692\labelindent=\skip60
693\enit@outerparindent=\dimen292
694\enit@toks=\toks44
695\enit@inbox=\box77
696\enit@count@id=\count311
697\enitdp@description=\count312
698)
699(/usr/share/texmf-dist/tex/generic/ulem/ulem.sty
700\UL@box=\box78
701\UL@hyphenbox=\box79
702\UL@skip=\skip61
703\UL@hook=\toks45
704\UL@height=\dimen293
705\UL@pe=\count313
706\UL@pixel=\dimen294
707\ULC@box=\box80
708Package: ulem 2019/11/18
709\ULdepth=\dimen295
710)
711(/usr/share/texmf-dist/tex/latex/jknapltx/mathrsfs.sty
712Package: mathrsfs 1996/01/01 Math RSFS package v1.0 (jk)
713\symrsfs=\mathgroup7
714)
715\Wrappedcontinuationbox=\box81
716\Wrappedvisiblespacebox=\box82
717Package hyperref Info: Option `breaklinks' set `true' on input line 360.
718Package hyperref Info: Option `colorlinks' set `true' on input line 360.
719LaTeX Font Info: Trying to load font information for T1+ppl on input line 36
7207.
721
722(/usr/share/texmf-dist/tex/latex/psnfss/t1ppl.fd
723File: t1ppl.fd 2001/06/04 font definitions for T1/ppl.
724)
725(/usr/share/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def
726File: l3backend-pdftex.def 2020-09-24 L3 backend support: PDF output (pdfTeX)
727\l__kernel_color_stack_int=\count314
728\l__pdf_internal_box=\box83
729)
730(./Homework4.aux)
731\openout1 = `Homework4.aux'.
732
733LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 367.
734LaTeX Font Info: ... okay on input line 367.
735LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 367.
736LaTeX Font Info: ... okay on input line 367.
737LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 367.
738LaTeX Font Info: ... okay on input line 367.
739LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 367.
740LaTeX Font Info: ... okay on input line 367.
741LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 367.
742LaTeX Font Info: ... okay on input line 367.
743LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 367.
744LaTeX Font Info: ... okay on input line 367.
745LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 367.
746LaTeX Font Info: ... okay on input line 367.
747LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 367.
748LaTeX Font Info: ... okay on input line 367.
749 (/usr/share/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
750[Loading MPS to PDF converter (version 2006.09.02).]
751\scratchcounter=\count315
752\scratchdimen=\dimen296
753\scratchbox=\box84
754\nofMPsegments=\count316
755\nofMParguments=\count317
756\everyMPshowfont=\toks46
757\MPscratchCnt=\count318
758\MPscratchDim=\dimen297
759\MPnumerator=\count319
760\makeMPintoPDFobject=\count320
761\everyMPtoPDFconversion=\toks47
762) (/usr/share/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty
763Package: epstopdf-base 2020-01-24 v2.11 Base part for package epstopdf
764Package epstopdf-base Info: Redefining graphics rule for `.eps' on input line 4
76585.
766
767(/usr/share/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg
768File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Liv
769e
770))
771Package caption Info: Begin \AtBeginDocument code.
772Package caption Info: float package is loaded.
773Package caption Info: hyperref package is loaded.
774Package caption Info: longtable package is loaded.
775
776(/usr/share/texmf-dist/tex/latex/caption/ltcaption.sty
777Package: ltcaption 2020/05/30 v1.4b longtable captions (AR)
778)
779Package caption Info: End \AtBeginDocument code.
780
781*geometry* driver: auto-detecting
782*geometry* detected driver: pdftex
783*geometry* verbose mode - [ preamble ] result:
784* driver: pdftex
785* paper: <default>
786* layout: <same size as paper>
787* layoutoffset:(h,v)=(0.0pt,0.0pt)
788* modes:
789* h-part:(L,W,R)=(72.26999pt, 469.75502pt, 72.26999pt)
790* v-part:(T,H,B)=(72.26999pt, 650.43001pt, 72.26999pt)
791* \paperwidth=614.295pt
792* \paperheight=794.96999pt
793* \textwidth=469.75502pt
794* \textheight=650.43001pt
795* \oddsidemargin=0.0pt
796* \evensidemargin=0.0pt
797* \topmargin=-37.0pt
798* \headheight=12.0pt
799* \headsep=25.0pt
800* \topskip=11.0pt
801* \footskip=30.0pt
802* \marginparwidth=59.0pt
803* \marginparsep=10.0pt
804* \columnsep=10.0pt
805* \skip\footins=10.0pt plus 4.0pt minus 2.0pt
806* \hoffset=0.0pt
807* \voffset=0.0pt
808* \mag=1000
809* \@twocolumnfalse
810* \@twosidefalse
811* \@mparswitchfalse
812* \@reversemarginfalse
813* (1in=72.27pt=25.4mm, 1cm=28.453pt)
814
815(/usr/share/texmf-dist/tex/latex/ucs/ucsencs.def
816File: ucsencs.def 2011/01/21 Fixes to fontencodings LGR, T3
817)
818Package hyperref Info: Link coloring ON on input line 367.
819
820(/usr/share/texmf-dist/tex/latex/hyperref/nameref.sty
821Package: nameref 2019/09/16 v2.46 Cross-referencing by name of section
822
823(/usr/share/texmf-dist/tex/latex/refcount/refcount.sty
824Package: refcount 2019/12/15 v3.6 Data extraction from label references (HO)
825)
826(/usr/share/texmf-dist/tex/generic/gettitlestring/gettitlestring.sty
827Package: gettitlestring 2019/12/15 v1.6 Cleanup title references (HO)
828)
829\c@section@level=\count321
830)
831LaTeX Info: Redefining \ref on input line 367.
832LaTeX Info: Redefining \pageref on input line 367.
833LaTeX Info: Redefining \nameref on input line 367.
834
835(./Homework4.out) (./Homework4.out)
836\@outlinefile=\write7
837\openout7 = `Homework4.out'.
838
839LaTeX Font Info: Trying to load font information for OT1+ppl on input line 3
84069.
841
842(/usr/share/texmf-dist/tex/latex/psnfss/ot1ppl.fd
843File: ot1ppl.fd 2001/06/04 font definitions for OT1/ppl.
844)
845LaTeX Font Info: Trying to load font information for OML+zplm on input line
846369.
847
848(/usr/share/texmf-dist/tex/latex/psnfss/omlzplm.fd
849File: omlzplm.fd 2002/09/08 Fontinst v1.914 font definitions for OML/zplm.
850)
851LaTeX Font Info: Trying to load font information for OMS+zplm on input line
852369.
853
854(/usr/share/texmf-dist/tex/latex/psnfss/omszplm.fd
855File: omszplm.fd 2002/09/08 Fontinst v1.914 font definitions for OMS/zplm.
856)
857LaTeX Font Info: Trying to load font information for OMX+zplm on input line
858369.
859
860(/usr/share/texmf-dist/tex/latex/psnfss/omxzplm.fd
861File: omxzplm.fd 2002/09/08 Fontinst v1.914 font definitions for OMX/zplm.
862)
863LaTeX Font Info: Trying to load font information for OT1+zplm on input line
864369.
865
866(/usr/share/texmf-dist/tex/latex/psnfss/ot1zplm.fd
867File: ot1zplm.fd 2002/09/08 Fontinst v1.914 font definitions for OT1/zplm.
868)
869LaTeX Font Info: Font shape `U/msa/m/n' will be
870(Font) scaled to size 12.50409pt on input line 369.
871LaTeX Font Info: Font shape `U/msa/m/n' will be
872(Font) scaled to size 9.37807pt on input line 369.
873LaTeX Font Info: Font shape `U/msa/m/n' will be
874(Font) scaled to size 7.29405pt on input line 369.
875LaTeX Font Info: Font shape `U/msb/m/n' will be
876(Font) scaled to size 12.50409pt on input line 369.
877LaTeX Font Info: Font shape `U/msb/m/n' will be
878(Font) scaled to size 9.37807pt on input line 369.
879LaTeX Font Info: Font shape `U/msb/m/n' will be
880(Font) scaled to size 7.29405pt on input line 369.
881LaTeX Font Info: Trying to load font information for U+rsfs on input line 36
8829.
883
884(/usr/share/texmf-dist/tex/latex/jknapltx/ursfs.fd
885File: ursfs.fd 1998/03/24 rsfs font definition file (jk)
886)
887
888LaTeX Warning: No \author given.
889
890LaTeX Font Info: Trying to load font information for TS1+ppl on input line 3
89187.
892(/usr/share/texmf-dist/tex/latex/psnfss/ts1ppl.fd
893File: ts1ppl.fd 2001/06/04 font definitions for TS1/ppl.
894)
895LaTeX Font Info: Font shape `U/msa/m/n' will be
896(Font) scaled to size 11.40997pt on input line 387.
897LaTeX Font Info: Font shape `U/msa/m/n' will be
898(Font) scaled to size 8.33606pt on input line 387.
899LaTeX Font Info: Font shape `U/msa/m/n' will be
900(Font) scaled to size 6.25204pt on input line 387.
901LaTeX Font Info: Font shape `U/msb/m/n' will be
902(Font) scaled to size 11.40997pt on input line 387.
903LaTeX Font Info: Font shape `U/msb/m/n' will be
904(Font) scaled to size 8.33606pt on input line 387.
905LaTeX Font Info: Font shape `U/msb/m/n' will be
906(Font) scaled to size 6.25204pt on input line 387.
907 [1
908
909{/usr/share/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
910LaTeX Font Info: Trying to load font information for U+fplmbb on input line
911454.
912
913(/usr/share/texmf-dist/tex/latex/psnfss/ufplmbb.fd
914File: ufplmbb.fd 2003/10/30 Fontinst v1.914 font definitions for U/fplmbb.
915)
916LaTeX Font Info: Trying to load font information for T1+cmtt on input line 4
91782.
918
919(/usr/share/texmf-dist/tex/latex/base/t1cmtt.fd
920File: t1cmtt.fd 2019/12/16 v2.5j Standard LaTeX font definitions
921)
922LaTeX Font Info: Font shape `U/msa/m/n' will be
923(Font) scaled to size 5.21004pt on input line 506.
924LaTeX Font Info: Font shape `U/msb/m/n' will be
925(Font) scaled to size 5.21004pt on input line 506.
926 [2] (./Homework4.aux)
927Package rerunfilecheck Info: File `Homework4.out' has not changed.
928(rerunfilecheck) Checksum: D41D8CD98F00B204E9800998ECF8427E;0.
929 )
930Here is how much of TeX's memory you used:
931 21207 strings out of 479383
932 386260 string characters out of 5875798
933 695232 words of memory out of 5000000
934 37838 multiletter control sequences out of 15000+600000
935 440078 words of font info for 127 fonts, out of 8000000 for 9000
936 1141 hyphenation exceptions out of 8191
937 107i,14n,111p,874b,517s stack positions out of 5000i,500n,10000p,200000b,80000s
938{/usr/share/texmf-dist/fonts/enc/dvips/cm-super/cm-super-t1.enc}{/usr/share/t
939exmf-dist/fonts/enc/dvips/base/8r.enc}</usr/share/texmf-dist/fonts/type1/public
940/amsfonts/cm/cmex10.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/c
941mmi10.pfb></usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb></usr
942/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy10.pfb></usr/share/texmf-d
943ist/fonts/type1/public/mathpazo/fplmbb.pfb></usr/share/texmf-dist/fonts/type1/p
944ublic/cm-super/sftt1095.pfb></usr/share/texmf-dist/fonts/type1/urw/palatino/upl
945b8a.pfb></usr/share/texmf-dist/fonts/type1/urw/palatino/uplr8a.pfb></usr/share/
946texmf-dist/fonts/type1/urw/palatino/uplri8a.pfb>
947Output written on Homework4.pdf (2 pages, 116266 bytes).
948PDF statistics:
949 65 PDF objects out of 1000 (max. 8388607)
950 51 compressed objects within 1 object stream
951 8 named destinations out of 1000 (max. 500000)
952 13 words of extra memory for PDF output out of 10000 (max. 10000000)
953
diff --git a/src/Homework4/Homework4.out b/src/Homework4/Homework4.out
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/Homework4/Homework4.out
diff --git a/src/Homework4/Homework4.pdf b/src/Homework4/Homework4.pdf
new file mode 100644
index 0000000..ff8ecd2
--- /dev/null
+++ b/src/Homework4/Homework4.pdf
Binary files differ
diff --git a/src/Homework4/Homework4.tex b/src/Homework4/Homework4.tex
new file mode 100644
index 0000000..ada5be7
--- /dev/null
+++ b/src/Homework4/Homework4.tex
@@ -0,0 +1,530 @@
1\documentclass[11pt]{article}
2
3 \usepackage[breakable]{tcolorbox}
4 \usepackage{parskip} % Stop auto-indenting (to mimic markdown behaviour)
5
6 \usepackage{iftex}
7 \ifPDFTeX
8 \usepackage[T1]{fontenc}
9 \usepackage{mathpazo}
10 \else
11 \usepackage{fontspec}
12 \fi
13
14 % Basic figure setup, for now with no caption control since it's done
15 % automatically by Pandoc (which extracts ![](path) syntax from Markdown).
16 \usepackage{graphicx}
17 % Maintain compatibility with old templates. Remove in nbconvert 6.0
18 \let\Oldincludegraphics\includegraphics
19 % Ensure that by default, figures have no caption (until we provide a
20 % proper Figure object with a Caption API and a way to capture that
21 % in the conversion process - todo).
22 \usepackage{caption}
23 \DeclareCaptionFormat{nocaption}{}
24 \captionsetup{format=nocaption,aboveskip=0pt,belowskip=0pt}
25
26 \usepackage[Export]{adjustbox} % Used to constrain images to a maximum size
27 \adjustboxset{max size={0.9\linewidth}{0.9\paperheight}}
28 \usepackage{float}
29 \floatplacement{figure}{H} % forces figures to be placed at the correct location
30 \usepackage{xcolor} % Allow colors to be defined
31 \usepackage{enumerate} % Needed for markdown enumerations to work
32 \usepackage{geometry} % Used to adjust the document margins
33 \usepackage{amsmath} % Equations
34 \usepackage{amssymb} % Equations
35 \usepackage{textcomp} % defines textquotesingle
36 % Hack from http://tex.stackexchange.com/a/47451/13684:
37 \AtBeginDocument{%
38 \def\PYZsq{\textquotesingle}% Upright quotes in Pygmentized code
39 }
40 \usepackage{upquote} % Upright quotes for verbatim code
41 \usepackage{eurosym} % defines \euro
42 \usepackage[mathletters]{ucs} % Extended unicode (utf-8) support
43 \usepackage{fancyvrb} % verbatim replacement that allows latex
44 \usepackage{grffile} % extends the file name processing of package graphics
45 % to support a larger range
46 \makeatletter % fix for grffile with XeLaTeX
47 \def\Gread@@xetex#1{%
48 \IfFileExists{"\Gin@base".bb}%
49 {\Gread@eps{\Gin@base.bb}}%
50 {\Gread@@xetex@aux#1}%
51 }
52 \makeatother
53
54 % The hyperref package gives us a pdf with properly built
55 % internal navigation ('pdf bookmarks' for the table of contents,
56 % internal cross-reference links, web links for URLs, etc.)
57 \usepackage{hyperref}
58 % The default LaTeX title has an obnoxious amount of whitespace. By default,
59 % titling removes some of it. It also provides customization options.
60 \usepackage{titling}
61 \usepackage{longtable} % longtable support required by pandoc >1.10
62 \usepackage{booktabs} % table support for pandoc > 1.12.2
63 \usepackage[inline]{enumitem} % IRkernel/repr support (it uses the enumerate* environment)
64 \usepackage[normalem]{ulem} % ulem is needed to support strikethroughs (\sout)
65 % normalem makes italics be italics, not underlines
66 \usepackage{mathrsfs}
67
68
69
70 % Colors for the hyperref package
71 \definecolor{urlcolor}{rgb}{0,.145,.698}
72 \definecolor{linkcolor}{rgb}{.71,0.21,0.01}
73 \definecolor{citecolor}{rgb}{.12,.54,.11}
74
75 % ANSI colors
76 \definecolor{ansi-black}{HTML}{3E424D}
77 \definecolor{ansi-black-intense}{HTML}{282C36}
78 \definecolor{ansi-red}{HTML}{E75C58}
79 \definecolor{ansi-red-intense}{HTML}{B22B31}
80 \definecolor{ansi-green}{HTML}{00A250}
81 \definecolor{ansi-green-intense}{HTML}{007427}
82 \definecolor{ansi-yellow}{HTML}{DDB62B}
83 \definecolor{ansi-yellow-intense}{HTML}{B27D12}
84 \definecolor{ansi-blue}{HTML}{208FFB}
85 \definecolor{ansi-blue-intense}{HTML}{0065CA}
86 \definecolor{ansi-magenta}{HTML}{D160C4}
87 \definecolor{ansi-magenta-intense}{HTML}{A03196}
88 \definecolor{ansi-cyan}{HTML}{60C6C8}
89 \definecolor{ansi-cyan-intense}{HTML}{258F8F}
90 \definecolor{ansi-white}{HTML}{C5C1B4}
91 \definecolor{ansi-white-intense}{HTML}{A1A6B2}
92 \definecolor{ansi-default-inverse-fg}{HTML}{FFFFFF}
93 \definecolor{ansi-default-inverse-bg}{HTML}{000000}
94
95 % commands and environments needed by pandoc snippets
96 % extracted from the output of `pandoc -s`
97 \providecommand{\tightlist}{%
98 \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
99 \DefineVerbatimEnvironment{Highlighting}{Verbatim}{commandchars=\\\{\}}
100 % Add ',fontsize=\small' for more characters per line
101 \newenvironment{Shaded}{}{}
102 \newcommand{\KeywordTok}[1]{\textcolor[rgb]{0.00,0.44,0.13}{\textbf{{#1}}}}
103 \newcommand{\DataTypeTok}[1]{\textcolor[rgb]{0.56,0.13,0.00}{{#1}}}
104 \newcommand{\DecValTok}[1]{\textcolor[rgb]{0.25,0.63,0.44}{{#1}}}
105 \newcommand{\BaseNTok}[1]{\textcolor[rgb]{0.25,0.63,0.44}{{#1}}}
106 \newcommand{\FloatTok}[1]{\textcolor[rgb]{0.25,0.63,0.44}{{#1}}}
107 \newcommand{\CharTok}[1]{\textcolor[rgb]{0.25,0.44,0.63}{{#1}}}
108 \newcommand{\StringTok}[1]{\textcolor[rgb]{0.25,0.44,0.63}{{#1}}}
109 \newcommand{\CommentTok}[1]{\textcolor[rgb]{0.38,0.63,0.69}{\textit{{#1}}}}
110 \newcommand{\OtherTok}[1]{\textcolor[rgb]{0.00,0.44,0.13}{{#1}}}
111 \newcommand{\AlertTok}[1]{\textcolor[rgb]{1.00,0.00,0.00}{\textbf{{#1}}}}
112 \newcommand{\FunctionTok}[1]{\textcolor[rgb]{0.02,0.16,0.49}{{#1}}}
113 \newcommand{\RegionMarkerTok}[1]{{#1}}
114 \newcommand{\ErrorTok}[1]{\textcolor[rgb]{1.00,0.00,0.00}{\textbf{{#1}}}}
115 \newcommand{\NormalTok}[1]{{#1}}
116
117 % Additional commands for more recent versions of Pandoc
118 \newcommand{\ConstantTok}[1]{\textcolor[rgb]{0.53,0.00,0.00}{{#1}}}
119 \newcommand{\SpecialCharTok}[1]{\textcolor[rgb]{0.25,0.44,0.63}{{#1}}}
120 \newcommand{\VerbatimStringTok}[1]{\textcolor[rgb]{0.25,0.44,0.63}{{#1}}}
121 \newcommand{\SpecialStringTok}[1]{\textcolor[rgb]{0.73,0.40,0.53}{{#1}}}
122 \newcommand{\ImportTok}[1]{{#1}}
123 \newcommand{\DocumentationTok}[1]{\textcolor[rgb]{0.73,0.13,0.13}{\textit{{#1}}}}
124 \newcommand{\AnnotationTok}[1]{\textcolor[rgb]{0.38,0.63,0.69}{\textbf{\textit{{#1}}}}}
125 \newcommand{\CommentVarTok}[1]{\textcolor[rgb]{0.38,0.63,0.69}{\textbf{\textit{{#1}}}}}
126 \newcommand{\VariableTok}[1]{\textcolor[rgb]{0.10,0.09,0.49}{{#1}}}
127 \newcommand{\ControlFlowTok}[1]{\textcolor[rgb]{0.00,0.44,0.13}{\textbf{{#1}}}}
128 \newcommand{\OperatorTok}[1]{\textcolor[rgb]{0.40,0.40,0.40}{{#1}}}
129 \newcommand{\BuiltInTok}[1]{{#1}}
130 \newcommand{\ExtensionTok}[1]{{#1}}
131 \newcommand{\PreprocessorTok}[1]{\textcolor[rgb]{0.74,0.48,0.00}{{#1}}}
132 \newcommand{\AttributeTok}[1]{\textcolor[rgb]{0.49,0.56,0.16}{{#1}}}
133 \newcommand{\InformationTok}[1]{\textcolor[rgb]{0.38,0.63,0.69}{\textbf{\textit{{#1}}}}}
134 \newcommand{\WarningTok}[1]{\textcolor[rgb]{0.38,0.63,0.69}{\textbf{\textit{{#1}}}}}
135
136
137 % Define a nice break command that doesn't care if a line doesn't already
138 % exist.
139 \def\br{\hspace*{\fill} \\* }
140 % Math Jax compatibility definitions
141 \def\gt{>}
142 \def\lt{<}
143 \let\Oldtex\TeX
144 \let\Oldlatex\LaTeX
145 \renewcommand{\TeX}{\textrm{\Oldtex}}
146 \renewcommand{\LaTeX}{\textrm{\Oldlatex}}
147 % Document parameters
148 % Document title
149 \title{Mathematical Software - Homework 4}
150 \date{\textbf{Deadline:} Sunday, June 6}
151
152
153
154
155
156% Pygments definitions
157\makeatletter
158\def\PY@reset{\let\PY@it=\relax \let\PY@bf=\relax%
159 \let\PY@ul=\relax \let\PY@tc=\relax%
160 \let\PY@bc=\relax \let\PY@ff=\relax}
161\def\PY@tok#1{\csname PY@tok@#1\endcsname}
162\def\PY@toks#1+{\ifx\relax#1\empty\else%
163 \PY@tok{#1}\expandafter\PY@toks\fi}
164\def\PY@do#1{\PY@bc{\PY@tc{\PY@ul{%
165 \PY@it{\PY@bf{\PY@ff{#1}}}}}}}
166\def\PY#1#2{\PY@reset\PY@toks#1+\relax+\PY@do{#2}}
167
168\expandafter\def\csname PY@tok@w\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.73,0.73,0.73}{##1}}}
169\expandafter\def\csname PY@tok@c\endcsname{\let\PY@it=\textit\def\PY@tc##1{\textcolor[rgb]{0.25,0.50,0.50}{##1}}}
170\expandafter\def\csname PY@tok@cp\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.74,0.48,0.00}{##1}}}
171\expandafter\def\csname PY@tok@k\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
172\expandafter\def\csname PY@tok@kp\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
173\expandafter\def\csname PY@tok@kt\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.69,0.00,0.25}{##1}}}
174\expandafter\def\csname PY@tok@o\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
175\expandafter\def\csname PY@tok@ow\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.67,0.13,1.00}{##1}}}
176\expandafter\def\csname PY@tok@nb\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
177\expandafter\def\csname PY@tok@nf\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.00,0.00,1.00}{##1}}}
178\expandafter\def\csname PY@tok@nc\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.00,0.00,1.00}{##1}}}
179\expandafter\def\csname PY@tok@nn\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.00,0.00,1.00}{##1}}}
180\expandafter\def\csname PY@tok@ne\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.82,0.25,0.23}{##1}}}
181\expandafter\def\csname PY@tok@nv\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.10,0.09,0.49}{##1}}}
182\expandafter\def\csname PY@tok@no\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.53,0.00,0.00}{##1}}}
183\expandafter\def\csname PY@tok@nl\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.63,0.63,0.00}{##1}}}
184\expandafter\def\csname PY@tok@ni\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.60,0.60,0.60}{##1}}}
185\expandafter\def\csname PY@tok@na\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.49,0.56,0.16}{##1}}}
186\expandafter\def\csname PY@tok@nt\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
187\expandafter\def\csname PY@tok@nd\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.67,0.13,1.00}{##1}}}
188\expandafter\def\csname PY@tok@s\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
189\expandafter\def\csname PY@tok@sd\endcsname{\let\PY@it=\textit\def\PY@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
190\expandafter\def\csname PY@tok@si\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.73,0.40,0.53}{##1}}}
191\expandafter\def\csname PY@tok@se\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.73,0.40,0.13}{##1}}}
192\expandafter\def\csname PY@tok@sr\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.73,0.40,0.53}{##1}}}
193\expandafter\def\csname PY@tok@ss\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.10,0.09,0.49}{##1}}}
194\expandafter\def\csname PY@tok@sx\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
195\expandafter\def\csname PY@tok@m\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
196\expandafter\def\csname PY@tok@gh\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.00,0.00,0.50}{##1}}}
197\expandafter\def\csname PY@tok@gu\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.50,0.00,0.50}{##1}}}
198\expandafter\def\csname PY@tok@gd\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.63,0.00,0.00}{##1}}}
199\expandafter\def\csname PY@tok@gi\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.00,0.63,0.00}{##1}}}
200\expandafter\def\csname PY@tok@gr\endcsname{\def\PY@tc##1{\textcolor[rgb]{1.00,0.00,0.00}{##1}}}
201\expandafter\def\csname PY@tok@ge\endcsname{\let\PY@it=\textit}
202\expandafter\def\csname PY@tok@gs\endcsname{\let\PY@bf=\textbf}
203\expandafter\def\csname PY@tok@gp\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.00,0.00,0.50}{##1}}}
204\expandafter\def\csname PY@tok@go\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.53,0.53,0.53}{##1}}}
205\expandafter\def\csname PY@tok@gt\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.00,0.27,0.87}{##1}}}
206\expandafter\def\csname PY@tok@err\endcsname{\def\PY@bc##1{\setlength{\fboxsep}{0pt}\fcolorbox[rgb]{1.00,0.00,0.00}{1,1,1}{\strut ##1}}}
207\expandafter\def\csname PY@tok@kc\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
208\expandafter\def\csname PY@tok@kd\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
209\expandafter\def\csname PY@tok@kn\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
210\expandafter\def\csname PY@tok@kr\endcsname{\let\PY@bf=\textbf\def\PY@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
211\expandafter\def\csname PY@tok@bp\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.00,0.50,0.00}{##1}}}
212\expandafter\def\csname PY@tok@fm\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.00,0.00,1.00}{##1}}}
213\expandafter\def\csname PY@tok@vc\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.10,0.09,0.49}{##1}}}
214\expandafter\def\csname PY@tok@vg\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.10,0.09,0.49}{##1}}}
215\expandafter\def\csname PY@tok@vi\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.10,0.09,0.49}{##1}}}
216\expandafter\def\csname PY@tok@vm\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.10,0.09,0.49}{##1}}}
217\expandafter\def\csname PY@tok@sa\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
218\expandafter\def\csname PY@tok@sb\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
219\expandafter\def\csname PY@tok@sc\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
220\expandafter\def\csname PY@tok@dl\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
221\expandafter\def\csname PY@tok@s2\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
222\expandafter\def\csname PY@tok@sh\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
223\expandafter\def\csname PY@tok@s1\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.73,0.13,0.13}{##1}}}
224\expandafter\def\csname PY@tok@mb\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
225\expandafter\def\csname PY@tok@mf\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
226\expandafter\def\csname PY@tok@mh\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
227\expandafter\def\csname PY@tok@mi\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
228\expandafter\def\csname PY@tok@il\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
229\expandafter\def\csname PY@tok@mo\endcsname{\def\PY@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}}
230\expandafter\def\csname PY@tok@ch\endcsname{\let\PY@it=\textit\def\PY@tc##1{\textcolor[rgb]{0.25,0.50,0.50}{##1}}}
231\expandafter\def\csname PY@tok@cm\endcsname{\let\PY@it=\textit\def\PY@tc##1{\textcolor[rgb]{0.25,0.50,0.50}{##1}}}
232\expandafter\def\csname PY@tok@cpf\endcsname{\let\PY@it=\textit\def\PY@tc##1{\textcolor[rgb]{0.25,0.50,0.50}{##1}}}
233\expandafter\def\csname PY@tok@c1\endcsname{\let\PY@it=\textit\def\PY@tc##1{\textcolor[rgb]{0.25,0.50,0.50}{##1}}}
234\expandafter\def\csname PY@tok@cs\endcsname{\let\PY@it=\textit\def\PY@tc##1{\textcolor[rgb]{0.25,0.50,0.50}{##1}}}
235
236\def\PYZbs{\char`\\}
237\def\PYZus{\char`\_}
238\def\PYZob{\char`\{}
239\def\PYZcb{\char`\}}
240\def\PYZca{\char`\^}
241\def\PYZam{\char`\&}
242\def\PYZlt{\char`\<}
243\def\PYZgt{\char`\>}
244\def\PYZsh{\char`\#}
245\def\PYZpc{\char`\%}
246\def\PYZdl{\char`\$}
247\def\PYZhy{\char`\-}
248\def\PYZsq{\char`\'}
249\def\PYZdq{\char`\"}
250\def\PYZti{\char`\~}
251% for compatibility with earlier versions
252\def\PYZat{@}
253\def\PYZlb{[}
254\def\PYZrb{]}
255\makeatother
256
257
258 % For linebreaks inside Verbatim environment from package fancyvrb.
259 \makeatletter
260 \newbox\Wrappedcontinuationbox
261 \newbox\Wrappedvisiblespacebox
262 \newcommand*\Wrappedvisiblespace {\textcolor{red}{\textvisiblespace}}
263 \newcommand*\Wrappedcontinuationsymbol {\textcolor{red}{\llap{\tiny$\m@th\hookrightarrow$}}}
264 \newcommand*\Wrappedcontinuationindent {3ex }
265 \newcommand*\Wrappedafterbreak {\kern\Wrappedcontinuationindent\copy\Wrappedcontinuationbox}
266 % Take advantage of the already applied Pygments mark-up to insert
267 % potential linebreaks for TeX processing.
268 % {, <, #, %, $, ' and ": go to next line.
269 % _, }, ^, &, >, - and ~: stay at end of broken line.
270 % Use of \textquotesingle for straight quote.
271 \newcommand*\Wrappedbreaksatspecials {%
272 \def\PYGZus{\discretionary{\char`\_}{\Wrappedafterbreak}{\char`\_}}%
273 \def\PYGZob{\discretionary{}{\Wrappedafterbreak\char`\{}{\char`\{}}%
274 \def\PYGZcb{\discretionary{\char`\}}{\Wrappedafterbreak}{\char`\}}}%
275 \def\PYGZca{\discretionary{\char`\^}{\Wrappedafterbreak}{\char`\^}}%
276 \def\PYGZam{\discretionary{\char`\&}{\Wrappedafterbreak}{\char`\&}}%
277 \def\PYGZlt{\discretionary{}{\Wrappedafterbreak\char`\<}{\char`\<}}%
278 \def\PYGZgt{\discretionary{\char`\>}{\Wrappedafterbreak}{\char`\>}}%
279 \def\PYGZsh{\discretionary{}{\Wrappedafterbreak\char`\#}{\char`\#}}%
280 \def\PYGZpc{\discretionary{}{\Wrappedafterbreak\char`\%}{\char`\%}}%
281 \def\PYGZdl{\discretionary{}{\Wrappedafterbreak\char`\$}{\char`\$}}%
282 \def\PYGZhy{\discretionary{\char`\-}{\Wrappedafterbreak}{\char`\-}}%
283 \def\PYGZsq{\discretionary{}{\Wrappedafterbreak\textquotesingle}{\textquotesingle}}%
284 \def\PYGZdq{\discretionary{}{\Wrappedafterbreak\char`\"}{\char`\"}}%
285 \def\PYGZti{\discretionary{\char`\~}{\Wrappedafterbreak}{\char`\~}}%
286 }
287 % Some characters . , ; ? ! / are not pygmentized.
288 % This macro makes them "active" and they will insert potential linebreaks
289 \newcommand*\Wrappedbreaksatpunct {%
290 \lccode`\~`\.\lowercase{\def~}{\discretionary{\hbox{\char`\.}}{\Wrappedafterbreak}{\hbox{\char`\.}}}%
291 \lccode`\~`\,\lowercase{\def~}{\discretionary{\hbox{\char`\,}}{\Wrappedafterbreak}{\hbox{\char`\,}}}%
292 \lccode`\~`\;\lowercase{\def~}{\discretionary{\hbox{\char`\;}}{\Wrappedafterbreak}{\hbox{\char`\;}}}%
293 \lccode`\~`\:\lowercase{\def~}{\discretionary{\hbox{\char`\:}}{\Wrappedafterbreak}{\hbox{\char`\:}}}%
294 \lccode`\~`\?\lowercase{\def~}{\discretionary{\hbox{\char`\?}}{\Wrappedafterbreak}{\hbox{\char`\?}}}%
295 \lccode`\~`\!\lowercase{\def~}{\discretionary{\hbox{\char`\!}}{\Wrappedafterbreak}{\hbox{\char`\!}}}%
296 \lccode`\~`\/\lowercase{\def~}{\discretionary{\hbox{\char`\/}}{\Wrappedafterbreak}{\hbox{\char`\/}}}%
297 \catcode`\.\active
298 \catcode`\,\active
299 \catcode`\;\active
300 \catcode`\:\active
301 \catcode`\?\active
302 \catcode`\!\active
303 \catcode`\/\active
304 \lccode`\~`\~
305 }
306 \makeatother
307
308 \let\OriginalVerbatim=\Verbatim
309 \makeatletter
310 \renewcommand{\Verbatim}[1][1]{%
311 %\parskip\z@skip
312 \sbox\Wrappedcontinuationbox {\Wrappedcontinuationsymbol}%
313 \sbox\Wrappedvisiblespacebox {\FV@SetupFont\Wrappedvisiblespace}%
314 \def\FancyVerbFormatLine ##1{\hsize\linewidth
315 \vtop{\raggedright\hyphenpenalty\z@\exhyphenpenalty\z@
316 \doublehyphendemerits\z@\finalhyphendemerits\z@
317 \strut ##1\strut}%
318 }%
319 % If the linebreak is at a space, the latter will be displayed as visible
320 % space at end of first line, and a continuation symbol starts next line.
321 % Stretch/shrink are however usually zero for typewriter font.
322 \def\FV@Space {%
323 \nobreak\hskip\z@ plus\fontdimen3\font minus\fontdimen4\font
324 \discretionary{\copy\Wrappedvisiblespacebox}{\Wrappedafterbreak}
325 {\kern\fontdimen2\font}%
326 }%
327
328 % Allow breaks at special characters using \PYG... macros.
329 \Wrappedbreaksatspecials
330 % Breaks at punctuation characters . , ; ? ! and / need catcode=\active
331 \OriginalVerbatim[#1,codes*=\Wrappedbreaksatpunct]%
332 }
333 \makeatother
334
335 % Exact colors from NB
336 \definecolor{incolor}{HTML}{303F9F}
337 \definecolor{outcolor}{HTML}{D84315}
338 \definecolor{cellborder}{HTML}{CFCFCF}
339 \definecolor{cellbackground}{HTML}{F7F7F7}
340
341 % prompt
342 \makeatletter
343 \newcommand{\boxspacing}{\kern\kvtcb@left@rule\kern\kvtcb@boxsep}
344 \makeatother
345 \newcommand{\prompt}[4]{
346 \ttfamily\llap{{\color{#2}[#3]:\hspace{3pt}#4}}\vspace{-\baselineskip}
347 }
348
349
350
351 % Prevent overflowing lines due to hard-to-break entities
352 \sloppy
353 % Setup hyperref package
354 \hypersetup{
355 breaklinks=true, % so long urls are correctly broken across lines
356 colorlinks=true,
357 urlcolor=urlcolor,
358 linkcolor=linkcolor,
359 citecolor=citecolor,
360 }
361 % Slightly bigger margins than the latex defaults
362
363 \geometry{verbose,tmargin=1in,bmargin=1in,lmargin=1in,rmargin=1in}
364
365
366
367\begin{document}
368
369 \maketitle
370
371
372
373
374 \emph{For this exercise you should have received this text in .ipynb
375format. Complete the exercises by modifying this file, and submit the
376modified version}
377
378 \textbf{Exercise 1 (6 points)}
379
380Use Sage to find the intersection points \emph{in the real plane} (that
381is, only those points such that \emph{both} coordinates are real
382numbers) of the following pairs of geometric objects:
383
384\begin{itemize}
385\tightlist
386\item
387 The circle of equation \(x^2 + y^2 = 4\) and the ellipse of equation
388 \(\left(\frac x2\right)^2 + (2y)^2 = 4\).
389\item
390 The circle of equation \(x^2 + y^2 = 4\) and the ellipse of equation
391 \(\left(\frac x2-2\right)^2 + (2y)^2 = 4\).
392\item
393 The curve of equation \(y^2 = x^3 -x +1\) and the horizontal line
394 \(y=10\).
395\item
396 The \(x\)-axis and the graph of the function
397 \(f(x)=\log(x) - e^{-x}\). \emph{Hint: \(f(x)\) has only one real
398 zero.}
399\end{itemize}
400
401
402\vspace{0.5cm}
403 \textbf{Exercise 2 (6 points)}
404
405\begin{enumerate}
406\def\labelenumi{(\alph{enumi})}
407\tightlist
408\item
409 Use Sage to compute
410\end{enumerate}
411
412\begin{itemize}
413\tightlist
414\item
415 the derivative
416\item
417 a primite (i.e.~integral)
418\item
419 the power series expansion around \(0\) up to order \(4\)
420\end{itemize}
421
422of the following functions:
423\begin{itemize}
424\item \(f(x) = e^x\)
425\item \(f(x) = \sin(x)\)
426\item \(f(x) = \cos(x)\)
427\item \(f(x) = \tan(x)\)
428\item \(f(x) = \log(1+x)\)
429\item \(f(x) = \sqrt[3]{1+x}\)
430\end{itemize}
431
432\begin{enumerate}
433\def\labelenumi{(\alph{enumi})}
434\setcounter{enumi}{1}
435\item
436 Use Sage to get the Latex code that represents the objects you
437 computed above.
438\item
439 Arrange the results of the previous points in a table in Latex. The
440 table should have 4 columns (function, derivative, integral, series)
441 and one row for each of the functions above. \emph{Note: when
442 including Latex in a Markdown cell in Jupyter you will not receive any
443 warning if you make mistakes; instead the Latex will simply not be
444 rendered and it will appear as plain text. If you have troubles making
445 this work you can send me a separate .tex (and .pdf) file.}
446\end{enumerate}
447
448
449\vspace{0.5cm}
450 \textbf{Exercise 3 (4 points)}
451
452The equation \begin{align*}
453y^2+x^{16}=1
454\end{align*} determines a closed curve in \(\mathbb R^2\) that looks
455like a rounded square. Determine the area of that shape, giving both an
456exact value (which might depend on some functions that Sage knows, but
457you don't) and an approximate value.
458
459
460\vspace{0.5cm}
461 \textbf{Exercise 4 (12 points)}
462
463A team of biologists is monitoring the population of river shrimps in
464the Alzette. At first they thought that the size \(P(t)\) of their
465population on day \(t\) would satisfy the differential equation
466\(P'(t)=P(t)/10\). However this does not work well with the data they
467have collected, so they now believe that the population of shrimps
468follows the formula \(P'(t)=P(t)/10-b\) for some value of \(b\) between
4691 and 100. They need your help here.
470
471\begin{enumerate}
472\def\labelenumi{(\alph{enumi})}
473\item
474 Using Sage, find a solution for the differential equation with initial
475 conditions \begin{align*}
476 \begin{cases}
477 P'(t)&=\frac{P(t)}{10}-b\\
478 P(1)&=1000
479 \end{cases}
480 \end{align*} where \(b\) is a generic constant.
481\item
482 The list \texttt{data} in the cell below contains the actual number of
483 shrimps that was measured every day from day \(1\) (the \(0\) at the
484 beginning is meaningless, but it will help to keep it there). Plot in
485 one single picture, possibly using different colors for each:
486\end{enumerate}
487
488\begin{itemize}
489\tightlist
490\item
491 The data as a bar chart.
492\item
493 A curve that interpolates the data, using one of the methods shown in
494 class.
495\item
496 The solution of the differential equation for \(b=0\).
497\item
498 The solution of the differential equation for a value of \(b\) of your
499 choice (\(1\leq b\leq 100\)) that fits the data better than \(b=0\).
500 \emph{(For this last point there is no right or wrong choice, just
501 pick one that looks good)}
502\end{itemize}
503
504 \begin{tcolorbox}[breakable, size=fbox, boxrule=1pt, pad at break*=1mm,colback=cellbackground, colframe=cellborder]
505\prompt{In}{incolor}{ }{\boxspacing}
506\begin{Verbatim}[commandchars=\\\{\}]
507\PY{n}{data} \PY{o}{=} \PY{p}{[}\PY{l+m+mi}{0}\PY{p}{,} \PY{l+m+mi}{1000}\PY{p}{,} \PY{l+m+mi}{1123}\PY{p}{,} \PY{l+m+mi}{1223}\PY{p}{,} \PY{l+m+mi}{1190}\PY{p}{,} \PY{l+m+mi}{1432}\PY{p}{,} \PY{l+m+mi}{1553}\PY{p}{,} \PY{l+m+mi}{1709}\PY{p}{,} \PY{l+m+mi}{1826}\PY{p}{,} \PY{l+m+mi}{1980}\PY{p}{,} \PY{l+m+mi}{2146}\PY{p}{,} \PY{l+m+mi}{2172}\PY{p}{,} \PY{l+m+mi}{2383}\PY{p}{,} \PY{l+m+mi}{2588}\PY{p}{,} \PY{l+m+mi}{2822}\PY{p}{,} \PY{l+m+mi}{3401}\PY{p}{,} \PY{l+m+mi}{3330}\PY{p}{,} \PY{l+m+mi}{4157}\PY{p}{,} \PY{l+m+mi}{3994}\PY{p}{,} \PY{l+m+mi}{4995}\PY{p}{,} \PY{l+m+mi}{5392}\PY{p}{,} \PY{l+m+mi}{5910}\PY{p}{,} \PY{l+m+mi}{6468}\PY{p}{,} \PY{l+m+mi}{7128}\PY{p}{,} \PY{l+m+mi}{7325}\PY{p}{,} \PY{l+m+mi}{7984}\PY{p}{,} \PY{l+m+mi}{9634}\PY{p}{,} \PY{l+m+mi}{10473}\PY{p}{,} \PY{l+m+mi}{11761}\PY{p}{,} \PY{l+m+mi}{12777}\PY{p}{]}
508\end{Verbatim}
509\end{tcolorbox}
510
511\vspace{0.5cm}
512 \textbf{Grading}
513
514This homework assignment is worth \(28\) (\(24+4\)) points, distributed
515as described above.
516
517Your final grade for the course will be the total of points you obtained
518(notice that the maximum is \(20+20+16+28=84\)) divided by \(4\),
519rounded to the nearest integer. More precisely
520
521\begin{align*}
522\operatorname{grade} = \operatorname{min}\left(20, \left\lfloor \frac{\operatorname{total}}{4} + 0.5\right\rfloor\right)
523\end{align*}
524
525
526 % Add a bibliography block to the postdoc
527
528
529
530\end{document}

Generated with cgit - Back to sebastiano.tronto.net