From ccb2c4be54d9e4ac1b1ca3511997775c09a3b541 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gi=C3=B9=20Marcer?= Date: Thu, 4 Jun 2020 10:29:41 +0200 Subject: [PATCH] ex-2: change image 2-gamma-area.png from png to tikz --- notes/images/2-gamma-area.png | Bin 11194 -> 0 bytes notes/sections/2.md | 34 +++++++++++++++++++++++++++++++--- 2 files changed, 31 insertions(+), 3 deletions(-) delete mode 100644 notes/images/2-gamma-area.png diff --git a/notes/images/2-gamma-area.png b/notes/images/2-gamma-area.png deleted file mode 100644 index 7f01fa5e5e9877a59798a3648afae75fd6d6cd15..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 11194 zcmeHtcU05ax9>NA2qQ&h1Q97}gh84Dg7ge182S$sq^nfvhTg-dFcw-8K)McXkfszd zbVY%L4$=vX8ajlZ0fI=$J>NL@zWclD-L>9bZ@vE>F3kDvv(Ijyz4tli8y=dQ8u0#f z;wK1#c+pocTR;%I1O%}i6cmWzz64TBZJEj6aM$CsTdDI5)k_Guh&AeS1A!s zT^1e08GbVg0gJ@7mA#4sa;2#??-Xy`5KQyFmm<*p;Yf5Y>hn$Kvz$k7pA->raTd#h zR8(HQdMo)Uw&Nl7eOxE@*W=FS5}bj0y0>j8`VFNHJs!cYFQzwJh3tnmT-U0mXbn-W z&tJ<~-_|tKvK)%4U$!2ezt%Lf?r6#ejQc!2hlshau>hA{!S3nF}L0An4C05YTf?9|An*&R~JQ)FUXc zjQs!E|F0t>JTsG&ASpclhB;E=cuXlf+NFdBQt{@E6&bAYtg8)qJb{_ByR22_e!Qui z24Da)UR)ysWsG`0fYJfRF;pT9L#sAe&|QFk7#Qww2!i_kcN`BaUrmd!IS3xu4suBd z#(>2Pw;2TWPceY+&7=($kmDgxhOv~TRU15ea|VG#CoUZTI5Yl2A>JF_0D>J)p2sdA z0LhmU8-e260MfBmYUa_$`)m_uKYLd`0#li*t)j>4X5Xba{tVnG%VRbYH48tus(-PS!_4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<9Q>MIHGYS$Ml=2#9ral^tu<1NZ4C&gF zR4tos__`Jv?9}AGoc%o3wzw(Dv?wCsnN#=XXoSaO%G^%P9r=FWW<|;Y(P(0?E@$hG z>VA|-FzuKIf%;J7b@6swmDY=cE-}7F^lE8=D0OKgkLD&2iP2Jv_BN^6C;mf?PZf)A z`KJ5KS;UEo8VUQZk0eya)VCD!f-9RwmL`Llv&g3rsfWv(a?5%cnC|V^OA`|Idi0gB z&7bwQX>oLaY{Q#8|KSGtWq$rR(S2oDgei|C_A>`L2UCzU&3Bm?9J9RLmh-Jb!N#K; z6M6?IzL^EH;)tf?)n>Exn%5w+(K-=9k|e*vh@8iDwB|79go3i&z%P%?>{^)Ss2dP{pWdS#L@Km!6vbHeO9&( zQHg~S4unJFG5nv;Pekgh6qE_Rp(vL4p|`Zw=ZB_7=l#hSUQves;+NVUnEFmOYxAfS zNbDT;6>HUIr`c$joMdSql&{!?V>~vFvilU-_`uKe27esik7sI zb+mS9TVI|T9h~kJ3VG?hNS&vOI@IUL7&%H|8Ph5_FT|?&#|?7IbZi(KP{~ zA<>bnnli0$IkWM*@aeJ`@rOpcRJoMC}o9Oc*7PI*TwG9BA&`isYkWvEv*{1 zYe9KRZbeQl7+6&BF~M2pjh|VV&R!^ad~MAvLh_cl>6YF<@7-aXe3r8tN?uZ)$*t0v z%EOc=$w<5Z5_6Hn%yjF`m|R*UOy{Z=W)pR?=waKDWb;~avqj-MkD4MmS6;6=nbQ5h zQAsle!@2i>&^H;AP0v;Agpa+35rI+slZ@NF!IqQx|MgD!-#za#llZk`pOsdEFI^!B NeZ};0h3?JY{ta<|f6)K{ diff --git a/notes/sections/2.md b/notes/sections/2.md index b902da3..6f7deb1 100644 --- a/notes/sections/2.md +++ b/notes/sections/2.md @@ -24,9 +24,37 @@ known methods involve sums, subtractions or products of very big or small numbers, packed in series, partial sums or infinite products. Thus, the efficiency of the methods lies on how quickly they converge to their limit. -![The area of the blue region converges to the Euler–Mascheroni -constant.](images/2-gamma-area.png){#fig:gamma width=7cm} - +\begin{figure} +\hypertarget{fig:gamma}{% +\centering +\begin{tikzpicture}[yscale=3] + \definecolor{brick}{RGB}{160, 54, 35} + % Series + \draw [fill=brick, brick] (1,0) rectangle (2,1); + \draw [fill=brick, brick] (2,0) rectangle (3,0.5); + \draw [fill=brick, brick] (3,0) rectangle (4,0.333); + \draw [fill=brick, brick] (4,0) rectangle (5,0.25); + \draw [fill=brick, brick] (5,0) rectangle (6,0.2); + \draw [fill=brick, brick] (6,0) rectangle (7,0.167); + \draw [fill=brick, brick] (7,0) rectangle (7.5,0.143); + % Logarithm + \filldraw [brick!40!white, domain=1:7.5, variable=\x] + (1,0) -- plot({\x},{1/\x}) -- (7.5,0) -- cycle; + % Axis + \draw [thick, ->] (1,0) -- (1,1.2); + \draw [thick, ->] (0.5,0) -- (7.5,0); + \draw (1.0,-0.05) -- (1.0,0.05); \node [below, scale=0.7] at (1.0,-0.05) {1}; + \draw (2.0,-0.05) -- (2.0,0.05); \node [below, scale=0.7] at (2.0,-0.05) {2}; + \draw (3.0,-0.05) -- (3.0,0.05); \node [below, scale=0.7] at (3.0,-0.05) {3}; + \draw (4.0,-0.05) -- (4.0,0.05); \node [below, scale=0.7] at (4.0,-0.05) {4}; + \draw (5.0,-0.05) -- (5.0,0.05); \node [below, scale=0.7] at (5.0,-0.05) {5}; + \draw (6.0,-0.05) -- (6.0,0.05); \node [below, scale=0.7] at (6.0,-0.05) {6}; + \draw (7.0,-0.05) -- (7.0,0.05); \node [below, scale=0.7] at (7.0,-0.05) {7}; +\end{tikzpicture} +\caption{The area of the red region converges to the Euler–Mascheroni + constant..}\label{fig:gamma} +} +\end{figure} ## Computing the constant