Skip to content

Commit dda770b

Browse files
committed
finished with the mathematical dunder and debugging and sqrt
1 parent 0bf417b commit dda770b

File tree

4 files changed

+161
-21
lines changed

4 files changed

+161
-21
lines changed

bibliography/bibliography.bib

+85-4
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ @string { a_bloch_joshua
5252
@string { a_blondel_mathieu = "Mathieu Blondel" }
5353
@string { a_bommarito_ethan = "Ethan Bommarito" }
5454
@string { a_bommarito_michael = "Michael Bommarito" }
55+
@string { a_bonnell_jerry = "Jerry Bonnell" }
5556
@string { a_bose_cherokee = "Cherokee Boose" }
5657
@string { a_bott_ed = "Ed Bott" }
5758
@string { a_bottazzini_umberto = "Umberto Bottazzini" }
@@ -70,6 +71,7 @@ @string { a_burnett_magaret_m
7071
@string { a_burovski_evgeni = "Evgeni Burovski" }
7172
@string { a_cannon_brett = "Brett Cannon" }
7273
@string { a_carey_cj = "CJ Carey" }
74+
@string { a_carlson_stephan_c = "Stephan C.\ Carlson" }
7375
@string { a_castro_oscar = "Oscar Castro" }
7476
@string { a_chabini_noureddine = "Noureddine Chabini" }
7577
@string { a_chanan_gregory = "Gregory Chanan" }
@@ -83,6 +85,7 @@ @string { a_chintala_soumith
8385
@string { a_cimran_robert = "Robert Cimrman" }
8486
@string { a_clinton_david = "David Clinton" }
8587
@string { a_coghlan_alyssa = "Alyssa Coghlan" }
88+
@string { a_conway_john_horton = "John Horton Conway" }
8689
@string { a_cook_curtis_r = "Curtis R.\ Cook" }
8790
@string { a_cormen_thomas_h = "Thomas H.\ Cormen" }
8891
@string { a_cornapeau_david = "David Cournapeau" }
@@ -111,6 +114,7 @@ @string { a_erwig_martin
111114
@string { a_euclid = "{{Euclid of Alexandria}~{(\ensuremath{E{\acute\upsilon}\kappa\lambda\varepsilon{\acute\iota}\delta\eta\varsigma})}}" }
112115
@string { a_euler_leonhard = "Leonhard Euler" }
113116
@string { a_fang_lu = "Lu Fang" }
117+
@string { a_fee_greg = "Greg Fee" }
114118
@string { a_feldt_robert = "Robert Feldt" }
115119
@string { a_feng_yu = "Yu Feng" }
116120
@string { a_fernandez_del_rio_jaime = "Jaime {Fern{\'a}ndez del R{\'i}o}" }
@@ -252,6 +256,7 @@ @string { a_naik_ganesh
252256
@string { a_nakano_koji = "Koji Nakano" }
253257
@string { a_negus_christopher = "Christopher Negus" }
254258
@string { a_nelson_andrew_r_j = "Andrew R.\ J.\ Nelson" }
259+
@string { a_nemiroff_robert = "Robert Nemiroff" }
255260
@string { a_neumaier_arnold = "Arnold Neumaier" }
256261
@string { a_newham_cameron = "Cameron Newham" }
257262
@string { a_nguyen_quan = "Quan Nguyen" }
@@ -333,6 +338,7 @@ @string { a_sigler_laurence_e
333338
@string { a_silberschatz_avi = "Avi Silberschatz" }
334339
@string { a_silva_sara = "Sara Silva" }
335340
@string { a_skoulikari_anna = "Anna Skoulikari" }
341+
@string{ a_sloane_neil_james_alexander = "Neil James Alexander Sloane" }
336342
@string { a_smith_eric_v = "Eric V.\ Smith" }
337343
@string { a_smith_ethan = "Ethan Smith" }
338344
@string { a_smith_nathaniel_j = "Nathaniel J.\ Smith" }
@@ -454,10 +460,12 @@ @string { l_usa_catonsville
454460
@string { l_usa_cambridge = "{{Cambridge}, {MA}, {USA}}" }
455461
@string { l_usa_centennial = "{{Centennial}, {CO}, {USA}}" }
456462
@string { l_usa_champaign = "{{Champaign}, {IL}, {USA}}" }
463+
@string { l_usa_chicago = "{{Chicago}, {IL}, {USA}}" }
457464
@string { l_usa_cincinnati = "{{Cincinnati}, {OH}, {USA}}" }
458465
@string { l_usa_columbia = "{{Columbia}, {SC}, {USA}}" }
459466
@string { l_usa_dallas = "{{Dallas}, {TX}, {USA}}" }
460467
@string { l_usa_flower_mound = "{{Flower Mound}, {TX}, {USA}}" }
468+
@string { l_usa_hanover = "{{Hanover}, {MD}, {USA}}" }
461469
@string { l_usa_highland_park = "{{Highland Park}, {NJ}, {USA}}" }
462470
@string { l_usa_hoboken = "{{Hoboken}, {NJ}, {USA}}" }
463471
@string { l_usa_ithaca = "{{Ithaca}, {NY}, {USA}}" }
@@ -474,6 +482,7 @@ @string { l_usa_redwood_city
474482
@string { l_usa_redwood_shores = "{{Redwood Shores}, {CA}, {USA}}" }
475483
@string { l_usa_reston = "{{Reston}, {VA}, {USA}}" }
476484
@string { l_usa_rochester = "{{Rochester}, {MI}, {USA}}" }
485+
@string { l_usa_salt_lake_city = "{{Salt Lake City}, {UT}, {USA}}" }
477486
@string { l_usa_san_diego = "{{San Diego}, {CA}, {USA}}" }
478487
@string { l_usa_san_francisco = "{{San Francisco}, {CA}, {USA}}" }
479488
@string { l_usa_san_jose = "{{San Jose}, {CA}, {USA}}" }
@@ -482,6 +491,7 @@ @string { l_usa_seattle
482491
@string { l_usa_sebastopol = "{{Sebastopol}, {CA}, {USA}}" }
483492
@string { l_usa_shelter_island = "{{Shelter Island}, {NY}, {USA}}" }
484493
@string { l_usa_south_san_francisco = "{{South San Francisco}, {CA}, {USA}}" }
494+
@string { l_usa_washington_dc = "{{Washington}, {DC}, {USA}}" }
485495
@string { l_usa_wilmington = "{{Wilmington}, {DE}, {USA}}" }
486496
487497
@@ -507,6 +517,7 @@ @string { p_crc_press
507517
@string { p_cornell_university_library = "{Cornell Universiy Library}" }
508518
@string { p_document_foundation = "The Document Foundation" }
509519
@string { p_elsevier = "{Elsevier~B.V.}" }
520+
@string { p_encyclopaedia_britannica_inc = "Encyclop{\ae}dia Britannica, Inc." }
510521
@string { p_geeksforgeeks = "{GeeksforGeeks -- Sanchhaya Education Private Limited}" }
511522
@string { p_github = "{\github~Inc}" }
512523
@string { p_hanser_verlag = "{Carl Hanser Verlag GmbH \& Co.~KG}" }
@@ -525,8 +536,12 @@ @string { p_leibniz_zentrum_fur_informatik
525536
@string { p_logilab = "Logilab" }
526537
@string { p_manning_publications = "{Manning Publications}" }
527538
@string { p_mcgraw_hill = "{McGraw\nobreakdashes-Hill}" }
539+
@string { p_merlinux = "{merlinux GmbH}" }
540+
@string { p_microsoft = "{Microsoft Corporation}" }
528541
@string { p_mit_press = "{{MIT} Press}" }
529542
@string { p_mozilla_corporation = "{Mozilla Corporation}" }
543+
@string { p_nasa = "{National Aeronautics and Space Administration~{(NASA)}}" }
544+
@string { p_nasa_asd = "{Astrophysics Science Division~{(ASD)}}, " # p_nasa }
530545
@string { p_neurips = "{The Neural Information Processing Systems Foundation~{(NeurIPS)}}" }
531546
@string { p_north_holland = "{North\nobreakdashes-Holland Publishing Co.}" }
532547
@string { p_oeis_foundation = "The {OEIS} Foundation Inc." }
@@ -536,14 +551,13 @@ @string { p_oreilly
536551
@string { p_oxford_university_cl = "{Oxford University Computing Laboratory}" }
537552
@string { p_oxford_university_press = "{Oxford University Press}" }
538553
@string { p_packt = "{Packt Publishing Ltd}" }
539-
@string { p_pearson_education = "Pearson Education, Inc." }
540-
@string { p_merlinux = "{merlinux GmbH}" }
541-
@string { p_microsoft = "{Microsoft Corporation}" }
554+
@string { p_pearson_education = "{Pearson Education, Inc.}" }
542555
@string { p_microsoft_press = "{Microsoft Press}, " # p_pearson_education }
543556
@string { p_plos = "Public Library of Science~{(PLOS)}" }
544557
@string { p_pragmatic_ai_labs = "{Pragmatic {AI} Labs}" }
545558
@string { p_pragmatic_bookshelf = "{{Pragmatic Bookshelf} {by} {The Pragmatic Programmers, {L.L.C.}}}" }
546559
@string { p_princeton_university_press = "Princeton University Press" }
560+
@string { p_project_gutenberg = "{Project Gutenberg Literary Archive Foundation}" }
547561
@string { p_python_morsels = "{Python Morsels}" }
548562
@string { p_python_software_foundation = "{\python\ Software Foundation~{(PSF)}}" }
549563
@string { p_readthedocs_inc = "{Read the Docs, Inc.}" }
@@ -592,6 +606,7 @@ @string { pa_cornell_university_library
592606
@string { pa_document_foundation = l_germany_berin }
593607
@string { pa_crc_press = l_usa_boca_raton }
594608
@string { pa_elsevier = l_netherlands_amsterdam }
609+
@string { pa_encyclopaedia_britannica_inc = l_usa_chicago }
595610
@string { pa_geeksforgeeks = l_india_noida}
596611
@string { pa_github = l_usa_san_francisco }
597612
@string { pa_hanser_verlag = l_germany_munich }
@@ -613,6 +628,8 @@ @string { pa_merlinux
613628
@string { pa_microsoft = l_usa_redmond }
614629
@string { pa_mit_press = l_usa_cambridge }
615630
@string { pa_mozilla_corporation = l_usa_san_francisco }
631+
@string { pa_nasa = l_usa_washington_dc }
632+
@string { pa_nasa_asd = l_usa_hanover }
616633
@string { pa_neurips = l_usa_san_diego }
617634
@string { pa_north_holland = l_netherlands_amsterdam }
618635
@string { pa_oeis_foundation = l_usa_highland_park }
@@ -628,6 +645,7 @@ @string { pa_plos
628645
@string { pa_pragmatic_ai_labs = l_usa_san_francisco }
629646
@string { pa_pragmatic_bookshelf = l_usa_flower_mound }
630647
@string { pa_princeton_university_press = l_usa_princeton }
648+
@string { pa_project_gutenberg = l_usa_salt_lake_city }
631649
@string { pa_python_morsels = l_iceland_reykjavik }
632650
@string { pa_python_software_foundation = l_usa_beaverton }
633651
@string { pa_readthedocs_inc = l_usa_portland }
@@ -936,6 +954,13 @@ @xdata{ser_lipics
936954
address = pa_leibniz_zentrum_fur_informatik
937955
}
938956

957+
@xdata{ser_oeis,
958+
editor = a_conway_john_horton,
959+
series = {The On-Line Encyclopedia of Integer Sequences},
960+
publisher = p_oeis_foundation,
961+
address = p_oeis_foundation,
962+
}
963+
939964
@xdata{ser_pm,
940965
series = {Progress in Mathematics~{(PM)}},
941966
issn = {0743-1643},
@@ -1270,6 +1295,15 @@ @incollection{CDE2024PMOPIE
12701295
urldate = {2024-06-17}
12711296
}
12721297

1298+
@book{CEOEB2024GR,
1299+
author = a_carlson_stephan_c # and # a_editors_of_encyclopaedia_britannica,
1300+
title = {Golden Ratio},
1301+
date = {2024-10-21},
1302+
crossref = {EB2024EC},
1303+
url = {https://www.britannica.com/science/golden-ratio},
1304+
urldate = {2024-12-14},
1305+
}
1306+
12731307
@book{CLRS2009ITA,
12741308
author = a_cormen_thomas_h # and # a_leiserson_charles_e # and # a_rivest_ronald_linn # and # a_stein_clifford,
12751309
title = {Introduction to Algorithms},
@@ -1407,6 +1441,13 @@ @book{E2013AITNMAA
14071441
isbn = {9781118367599},
14081442
}
14091443

1444+
@collection{EB2024EC,
1445+
title = {Encyclopaedia Britannica},
1446+
editor = a_editors_of_encyclopaedia_britannica,
1447+
publisher = p_encyclopaedia_britannica_inc,
1448+
address = pa_encyclopaedia_britannica_inc,
1449+
}
1450+
14101451
@book{EHF2008EEOGTGOJLH11FEEEELIEILHIATBG11EAPWMETBFR,
14111452
title = {Euclid's Elements of Geometry~(\ensuremath{\Sigma\tau{o}\iota\chi\varepsilon{\tilde{\iota}}\alpha}). The Greek Text of J.L.~Heiberg~(1883-1885) from Euclidis Elementa, Edidit et Latine Interpretatus est I.L.~Heiberg in Aedibus } # p_teubner_b_g # {i, 1883-1885. Edited, and provided with a modern English translation, by } # a_fitzpatrick_richard,
14121453
author = a_euclid,
@@ -1430,12 +1471,22 @@ @inbook{EHF2008ENT
14301471
@incollection{EOEBSRGML2024LY,
14311472
author = a_editors_of_encyclopaedia_britannica # and # a_setia_veenu # and # a_rodriguez_emily # and # a_gaur_aakanksha # and # a_matthias_meg # and # a_lotha_gloria,
14321473
title = {Leap Year},
1433-
booktitle = {Encyclopaedia Britannica},
1474+
crossref = {EB2024EC},
14341475
date = {2024-08-20},
14351476
url = {https://www.britannica.com/science/leap-year-calendar},
14361477
urldate = {2024-08-29},
14371478
}
14381479

1480+
@book{F1996TGR1T2P,
1481+
author = a_fee_greg,
1482+
title = {The \glslink{goldenRatio}{Golden Ratio}:~(1+sqrt(5))/2 to 20000~Places},
1483+
date = {1996-08-01},
1484+
publisher = p_project_gutenberg,
1485+
address = pa_project_gutenberg,
1486+
url = {https://www.gutenberg.org/ebooks/633},
1487+
urldate = {2024-12-14},
1488+
}
1489+
14391490
@inbook{F2011TTOEAP,
14401491
author = a_filaseta_michael,
14411492
booktitle = {Math~785:~{T}ranscendental Number Theory},
@@ -2013,6 +2064,16 @@ @book{N2022CCSFPO
20132064
urldate = {2024-08-27},
20142065
}
20152066

2067+
@book{NB1997TSROTT1MD,
2068+
author = a_nemiroff_robert # and # a_bonnell_jerry,
2069+
title = {The Square Root of Two to 1~Million Digits},
2070+
date = {1997-04-02},
2071+
publisher = p_nasa_asd,
2072+
address = pa_nasa_asd,
2073+
url = {https://apod.nasa.gov/htmltest/gifcity/sqrt2.1mil},
2074+
urldate = {2024-12-14},
2075+
}
2076+
20162077
@book{NR2005LTBSUSPCB3,
20172078
author = a_newham_cameron # and # a_rosenblatt_bill,
20182079
title = {Learning the \bash\ Shell -- Unix Shell Programming:~{C}overs \bash~3.0},
@@ -2898,6 +2959,26 @@ @book{S2023LG
28982959
address = pa_oreilly
28992960
}
29002961

2962+
@book{S2024DEOGRPOT,
2963+
author = a_sloane_neil_james_alexander,
2964+
title = {Decimal Expansion of \glslink{numberGoldenRatio}{Golden Ratio} phi (or tau) = (1 + sqrt(5))/2},
2965+
volume = {A001622},
2966+
date = {2024-12-13},
2967+
xdata = {ser_oeis},
2968+
url = {https://oeis.org/A001622},
2969+
urldate = {2024-12-14},
2970+
}
2971+
2972+
@book{S2024DEOSRO2,
2973+
author = a_sloane_neil_james_alexander,
2974+
title = {Decimal Expansion of Square Root of~2},
2975+
volume = {A002193},
2976+
date = {2024-12-13},
2977+
xdata = {ser_oeis},
2978+
url = {https://oeis.org/A002193},
2979+
urldate = {2024-12-14},
2980+
}
2981+
29012982
@inbook{SD2024DCAD,
29022983
title = {Doc Comments and \Pglspl{docstring}},
29032984
crossref = {SD2024SIDFD},

notation/math.sty

+6
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ is Euler's number~\cite{E1737DFCD}, the base of the natural logarithm. %
5353
$e\in\realNumbers$ is an irrational and transcendental number~\cite{APM1991TOEAP,F2011TTOEAP}, which is approximately~$e\approx2.718\decSep281\decSep828\decSep459\decSep045\decSep235\decSep360$. %
5454
In \python, it is provided by the \pythonilIdx{math} module as constant \pythonilIdx{e} with value~\pythonilIdx{2.718281828459045}}%
5555
%
56+
\newSymbol{numberGoldenRatio}{\ensuremath{\phi}}{$\phi$}{%
57+
The golden ratio (or golden section) is the irrational number~$\frac{1+\sqrt{5}}{2}$. %
58+
It is the ratio of a line segment cut into two pieces of different lengths such that the ratio of the whole segment to that of the longer segment is equal to the ratio of the longer segment to the shorter segment~\cite{CEOEB2024GR,EHF2008EEOGTGOJLH11FEEEELIEILHIATBG11EAPWMETBFR}. %
59+
The golden ratio is approximately~$\phi\approx1.618\decSep033\decSep988\decSep749\decSep894\decSep848\decSep204\decSep586\decSep834$~\cite{S2024DEOGRPOT}. %
60+
Represented as \pythonil{float} in \python, its value is~\pythonil{1.618033988749895}}%
61+
%
5662
\protected\gdef\factorial#1{\ensuremath{#1\gls{factorialMark}}}%
5763
\newglossaryentry{factorialMark}{%
5864
type={symbols},

notation/terms.sty

+8
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,14 @@ Learn more at \url{https://github.com}.%
126126
\protected\gdef\github{\pgls{github}}%
127127
%
128128
%
129+
\newglossaryentry{goldenRatio}{%
130+
name={golden ratio},%
131+
description={%
132+
The golden ratio or golden section, see \numberGoldenRatio.%
133+
}%
134+
}%
135+
%
136+
%
129137
\newglossaryentry{ide}{%
130138
name={Integrated Development Environment},%
131139
sort={Integrated Development Environment},%

0 commit comments

Comments
 (0)