Debian Codegraph @

texmf-dist/doc/generic/pst-kepler/pst-kepler-doc.tex

raw
1 \DocumentMetadata{lang=en}
2 \PassOptionsToPackage{backref}{biblatex}
3 %\PassOptionsToPackage{backref}{hyperref}
4 %% $Id: pst-kepler-doc.tex 1224 2026-01-01 07:30:39Z herbert $
5 \documentclass[fontsize=11pt,english,BCOR=10mm,DIV=12,bibliography=totoc,parskip=false,
6 headings=small, headinclude=false,footinclude=false,twoside,ngerman,english]{pst-doc}
7 \usepackage{pst-eucl,pst-plot}
8 %\usepackage{xintexpr,polexpr,xinttrig}
9 %\usepackage{xstring}
10 \usepackage{pst-tools,minted-code,pst-kepler}
11 \let\PSTfileversion\fileversion
12 \let\PSTfiledate\filedate
13
14 \renewcommand\bgImage{\includegraphics[height=8cm]{images/kepler_model}}
15
16 \addbibresource{\jobname.bib}
17
18 \usepackage{enumitem,xltabular,hvindex}
19 \setlist{nosep}
20
21 \usepackage{pstricks-add}
22 \usepackage{wrapfig}
23 \usepackage{pifont}
24
25 \NewExpandableDocumentCommand{\XcalcR}{sO{8}m}{% calculates #3 and rounds to #2 decimals; non formating: for formated output use \Xcalc not \XcalcR
26 \PolDecToString{\xintREZ{\xinttheiexpr[#2]\xintfloatexpr\empty#3\relax\relax}}%
27 }% ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
28
29
30 \begin{document}
31
32 \title{\texttt{pst-kepler}}
33 \subtitle{The earth model of Johannes Kepler; v.\PSTfileversion}
34 \author{Jürgen Gilg$\dagger$}
35 \docauthor{Jürgen Gilg$\dagger$\\Jean-François Burnol\\Manuel Luque\\
36 Thomas Ossig\\Herbert Voß}
37 \date{\today}
38 \settitle
39
40 \tableofcontents
41
42 \vfill
43 \begin{center}
44 \fbox{\parbox{0.9\linewidth}{This package is dedicated to Jürgen Gilg
45 (08.02.1966 -- 06.05.2022). His work for PSTricks will never be forgotten.}}
46 \end{center}
47
48 \vfill
49
50 \begin{abstract}
51 Jean-François Burnol's tribute to Jürgen Gilg ($\dagger$ 2022):
52
53 »It is with deep sadness that I learned of Jürgen's completely
54 unexpected passing. How I regret not having visited him in Germany!
55 I received his first email on January 2, 2018, some time after
56 I began interacting with Thomas Söll. It was titled ›Polynomials
57 with XINT‹ and is the direct inspiration for my \TeX/\LaTeX\
58 package \LPack{polexpr}. Since then, Jürgen, Thomas, and I have had
59 many exchanges about \LPack{xint}, \LPack{polexpr}, and also PS-Tricks, of which
60 Jürgen was an expert, and where he was my teacher in everything.
61 Jürgen, along with Thomas Söll and others, did extraordinary things
62 with PS-Tricks. As the months and years went by, we talked more and
63 more about other subjects, about events in our respective lives, and
64 we shared painful experiences. I think Jürgen was incredibly
65 kind-hearted; I feel like I've known him for ten or twenty years,
66 but it's only been four \ldots«
67
68 \hfill Jean-François Burnol, May 8, 2022
69 \end{abstract}
70
71
72 \clearpage
73
74
75
76 \section{Curriculum Vit{\ae} of Johannes Kepler (December 27, 1571 -- November 15, 1630)}
77
78 %\begin{wrapfigure}[lineheight]{position}{width}
79 % ...
80 %\end{wrapfigure}
81 %The position parameter has eight possible values:
82 %
83 %r R right side of the text
84 %l L left side of the text
85 %i I inside edge–near the binding (in a twoside document)
86 %o O outside edge–far from the binding
87 %The uppercase version allows the figure to float. The lowercase version means exactly here.
88 %
89 \begin{wrapfigure}{r}{0.45\textwidth}
90 \centering
91 \includegraphics[width=0.9\linewidth]{images/kepler_picture}
92 \caption{Johannes Kepler}
93 %
94 % \includegraphics[width=0.9\linewidth]{images/Brahe}
95 % \caption{Tycho Brahe}
96 \end{wrapfigure}
97 Johannes Kepler was born on December 27, 1571 in Weil (today: \Index{Weil der Stadt})
98 as son of Katharina and Heinrich Kepler.
99 He lived in the epoch of Renaissance till the beginning of the »Thirty Years'
100 War«. The big change in spiritual subjects, which arised to that time,
101 manifested itself in acrimonious religious wars during the reformation
102 and intellectually for famous explorers to compete for a new true knowledge
103 about the world.
104
105 \NameIndex{Nikolaus Kopernikus} (1473-1543) described in his astronomical opus
106 »\textit{Von den Umdrehungen der Hemisph\"{a}ren}«, which he released
107 short time before he died, that not the Earth, but the Sun is the center
108 of the planet system, hence the Earth would be only a planet among other planets.
109 Duke Christoph donated a scholarship for talented children
110 for the University of \Index{Tübingen}. In 1589 Kepler, who received such a
111 scholarship, started to study in the subjects of Theology, Mathematics
112 and Astronomy. In this connection he came to know of Kopernikus'
113 revoluting thesis. After attending two convent schools Kepler came
114 into the Tübinger monastery. Due to the fact of his critical intellect
115 not fitting with all the dogmas of the post-lutherian Orthodoxy
116 (amongst others Lord's Supper, geocentric world view), he didn't
117 receive any employment in \Index{Württemberg} anymore. So he had to go
118 in a foreign country. In \Index{Graz} he worked from 1594 to 1600 as a
119 mathematician of the province. There he came into his own which was
120 the astronomy. In 1597 he married \NameIndex{Barbara Müller}.
121
122 \begin{wrapfigure}{r}{0.45\textwidth}
123 \centering
124 \includegraphics[width=0.9\linewidth]{images/Brahe}
125 \caption{Tycho Brahe}
126 \end{wrapfigure}
127 With 24, Kepler published his first opus »\textit{Mysterium cosmographicum}«
128 (»\textit{The Mysteries of the Universe}«).~\parencite{kepler_mystery}
129 In 1600 he moved with his wife to \Index{Prague},
130 to become a collaborator of \NameIndex{Tycho Brahe}.
131 After Brahe's death in the following year, Kepler became his successor as an astronomer
132 under Emperor \Index{Rudolf II.} and as an imperial mathematician respectively and continued
133 Brahe's astronomical work that he has left. In 1605 he realized, that the orbit of
134 Mars is not a \Index{circle}, but an \Index{ellipse}. This finding is the base for the Kepler Laws.
135
136 The first two were released in 1609 in
137 »\textit{Astronomia nova}« (»\textit{New Astronomy}«).
138 His Third Law Kepler posted in 1619 in the opus »\textsc{Harmonices mundi}«
139 (»\textit{Harmony of the World}«).
140
141 \begin{figure}[!htb]
142 \frame{\includegraphics[width=0.3\linewidth]{images/astronomia_nova}}
143 \qquad
144 \frame{\includegraphics[width=0.3\linewidth]{images/harmony}}
145 \quad
146 \frame{\includegraphics[width=0.3\linewidth]{images/dioptrice}}
147 % \caption{Tycho Brahe}
148 \end{figure}
149
150 %\begin{center}
151 %\includegraphics[scale=0.1]{images/Brahe_kepler}
152 %\end{center}
153
154 \begin{wrapfigure}{r}{0.45\textwidth}
155 \centering
156 \includegraphics[width=0.9\linewidth]{images/rudolphine}
157 % \caption{Tycho Brahe}
158 \end{wrapfigure}
159 Apart from the astronomy, Kepler contributed significant things in the subject of Optics.
160 In 1611 »\textit{Dioptrice} (»\textit{Dioptre}«) was published, where he progressed
161 in the theory of lenses of a \Index{telescope} (with two convex lenses).
162 After his wife died in 1611 and later his benefactor \Index{Rudolf II.} as well,
163 he became mathematician of the province in \Index{Linz}. There he married
164 \NameIndex{Susanne Reutinger}.
165
166
167 He published "\textit{Abriss der kopernikanischen Astronomie}"
168 (7 Volumes, 1618-22) and released the »\textit{Tabulae Rudolphinae}«
169 (»\textit{Rudolphine Tables}«) in 1627. They include till then the
170 most exact tables of the planet movements and for this reason with the
171 appropriate planet positions.
172
173 From 1628 he was in attendance on
174 \Index{Wallenstein} in \Index{Ulm} and \Index{Sagan}. He mainly
175 was asking fir some exact horoscopes. During that time the astronomy and
176 astrology were strongly connected. At a later date it came out of its
177 shadowy existence. An anecdote tells, that Kepler really prognosticates
178 Wallenstein's date of death. He was well known for his precise horoscopes,
179 although nowadays one can be doubtfully about that. For sure the astrology j
180 ust was a means to an end for earning some money for his astronomical research.
181
182 In 1630 Kepler went on a journey to Linz. He fell ill in \Index{Regensburg} and died
183 on November 15, shotly after his arrival.
184
185
186 \section{The symbolic of Kepler's solar system}
187 With his debut feature, he likes to resolve, why \Index{God} created exactly six
188 and not any more planets. His first idea is to inscribe plain geometrical
189 figures one within one to explain the number of planets. This failed,
190 cause there are too many regular plain geometrical figures, but only five were needed.
191
192 \begin{figure}
193 \includegraphics[width=0.19\linewidth,page=2]{images/tetra.png}
194 \hfill
195 \includegraphics[width=0.19\linewidth]{images/hexa.png}
196 \hfill
197 \includegraphics[width=0.19\linewidth]{images/octa.png}
198 \hfill
199 \includegraphics[width=0.19\linewidth]{images/dode.png}
200 \hfill
201 \includegraphics[width=0.19\linewidth]{images/ikosa.png}
202 %Tetrahedron\qquad Hexahedron\qquad Octahedron\qquad Dodecahedron \qquad Icosahedron
203 \caption{The five regular Platonic Solids}
204 \end{figure}
205
206
207 Since the system of planets is three dimensional, Kepler exploits finally
208 the \textbf{five regular Platonic Solids} for his thought experiment:
209 the \textit{\Index{Tetrahedron}}, the \textit{\Index{Hexahedron}} (\Index{Cube}),
210 the \textit{\Index{Octahedron}}, the \textit{\Index{Dodecahedron}} and the
211 \textit{\Index{Icosahedron}}. These regular solids are in--- respectively
212 circumscried by spheres. The ratio of the radiuses between inner and
213 outer sphere expresses the ratio of the distances to the sun of adjacent
214 planets (see figure~\vref{solarsystem}).
215 For taking into account the orbit \Index{excentricity}, Kepler emanates
216 from a certain thickness of the spheres. The copernican data of distances
217 suggest the following order:
218
219
220 %\newpage
221 \begin{xltabular}{\linewidth}{@{}l l m{3cm} X @{}}
222 \symbol{"2644} & Sphere of Saturn. &
223 \vspace{0pt}\includegraphics[trim=0 1cm 0 0,clip,width=3cm]{images/saturn} &
224 \Index{Hexahedron} (\Index{Cube}, the first of the regular bodies in geometry, showing the distance
225 between the orbits of \Index{Saturn} and \Index{Jupiter}.\\
226
227 \symbol{"2643} & Sphere of Jupiter. &
228 \vspace{0pt}\includegraphics[trim=0 1cm 0 0,clip,width=3cm]{images/jupiter}&
229 \Index{Tetrahedron}, or \Index{pyramid}, touching the sphere of \Index{Jupiter}
230 on the outside and the sphere of \Index{Mars} on the inside, and responsible
231 for the greatest distance between the two planets.\\
232
233 %\symbol{"2644}
234 & Sphere of Mars. &
235 \vspace{0pt}\includegraphics[trim=0 1cm 0 0,clip,width=3cm]{images/mars}&
236 \Index{Dodecahedron}, the third body, representing the
237 distance extending from the sphere of \Index{Mars} to the
238 great orbit that encompasses the Earth and the Moon.\\
239
240 \symbol{"2641} & \shortstack{Great orbit\\ (of the Earth).} &
241 \vspace{0pt}\includegraphics[trim=0 1cm 0 0,clip,width=3cm]{images/earth}&
242 \Index{Icosahedron}, which indicates the true distance between the great orbit and the sphere of Venus.
243 \Index{Octahedron}, which shows the distance between the sphere of
244 \Index{Venus} and that of \Index{Mercury}.\\
245
246 \symbol{"263F} & Sphere of Mercury. &
247 \vspace{0pt}\includegraphics[trim=0 1cm 0 0,clip,width=3cm]{images/mercury}&
248 \Index{Sun}, the center of the stationary center of the Universe.\\
249 \end{xltabular}
250
251
252 \begin{figure}
253 \centering
254 \includegraphics[scale=0.4]{images/Keplerienne3}
255 \caption{Kepler's solar system.}\label{solarsystem}
256 \end{figure}
257
258 The greek philosopher Plato (about 300 B. C.) described detailed the solids and
259 assigns them to the elements of the \textit{\Index{Platonic World View}}.
260 They were assigned as schown in figure~\vref{platonic}.
261
262 \begin{figure}
263 \centering
264 \includegraphics[scale=0.6]{images/universe}
265 \caption{Platon's World View}\label{platonic}
266 \end{figure}
267
268 In his dialog \textit{Timaios}, \Index{Plato} illustrates a model of the universe,
269 wherein he combines the regular solids with the four elements \Index{Earth}
270 (\Index{Hexahedron}/\Index{Cube}),
271 \Index{Water} (\Index{Icosahedron}), \Index{Fire} (\Index{Tetrahedron}) and \Index{Air}
272 (\Index{Octahedron}).~\parencite{jorgenson2020plato,2016timaios}
273 Plato associates the \Index{Dodecahedron} with the \textit{quinta essentia},
274 the Heavenly \Index{Ether}. Every of the twelve side faces correspond to one of the
275 twelve constellations.
276
277
278 \clearpage
279
280 \section{Kepler's laws}
281 \subsection{Kepler's 1st Law}
282 During his work in \Index{Prague}, Kepler manifested his »First Law«. He phrased the
283 following:
284
285 \begin{quotation}
286 »The cause is like so: The planet's orbit is not a circle; it comes in little
287 by little on both sides and then back
288 till the circumference of the circle in the perigree [the point of the moon's
289 orbit that is closest to the Earth]. A such shaped orbit is called oval.«
290 \end{quotation}
291
292 Nowadays it will be expressed:
293
294 \textit{All planets orbit the \Index{sun} in \Index{elliptical orbit}s
295 with the sun at one focus.}
296
297
298 \subsection{Kepler's 2nd Law}
299 His »Second Law« reads like so:
300
301 \begin{quotation}
302 \begin{otherlanguage}{ngerman}
303 »Unvollkommenes, jedoch f\"{u}r die Sonnen- oder Erdbahn ausreichendes
304 Verfahren zur Berechnung der Gleichungen auf Grund der physikalischen
305 Hypothese. Da ich mir bewu{\ss}t war, dass es unendlich viele Punkte
306 auf dem Exzenter [au{\ss}erhalb des Mittelpunktes liegende angebrachte
307 Steuerungsscheibe] und entsprechend unendlich viele Abst\"{a}nde gibt,
308 kam mir der Gedanke, dass in der Fl\"{a}che des Exzenters alle diese
309 Abst\"{a}nde enthalten seien.«
310 \end{otherlanguage}
311 \end{quotation}
312
313 Nowadays it will be phrased like:
314 \begin{center}
315 \begin{pspicture}(-4,-2.75)(4,3.2)%\psgrid
316
317 \pscustom[fillstyle=solid,fillcolor=lightgray]{%
318 \psline(-1.658,0)(-2.298,1.607)
319 \psellipticarc(3,2.5){140}{220}
320 \psline(-1.658,0)(-2.298,-1.607)
321 }
322 \pscustom[fillstyle=solid,fillcolor=lightgray]{%
323 \psline(-1.658,0)(2.954,-0.434)
324 \psellipticarc(3,2.5){350}{10}
325 \psline(2.954,0.434)(-1.658,0)
326 }
327 \parametricplot[algebraic,plotpoints=200,linestyle=dashed]{0}{TwoPi}{3*cos(t)|2.5*sin(t)}
328 \rput(-1.658,0){\textcolor{yellow}{\LARGE$\bullet$}}
329 \rput(0,2.5){\textcolor{blue}{\LARGE$\bullet$}}
330 \uput[90](0,2.5){Planet}
331 \psline[linecolor=blue]{->}(3,0)(3,1)
332 \psline[linecolor=blue]{->}(-3,0)(-3,-2)
333
334 \uput[0](3,1){$\vec{v}_1$}
335 \uput[180](-3,-2){$\vec{v}_2$}
336 \rput(1.25,0){$A_1$}
337 \rput(-2.25,0){$A_2$}
338
339 \rput(3,0){$\bullet$}
340 \rput(-3,0){$\bullet$}
341 \uput[180](-3,0){Perihelion}
342 \uput[0](3,0){Aphelion}
343 \rput[l](-1.658,-0.4){Sun}
344 \end{pspicture}
345 \end{center}
346
347 \textit{\Index{Perihelion}} is the point on its orbit when a planet is closest to the sun,
348 \textit{\Index{Aphelion}} is the point on its orbit when a planet is farthest from the sun.
349 The sun is in one focus of the elliptical orbit.
350
351
352 \textit{The line connecting a planet to the sun sweeps out equal areas in equal
353 amounts of time. A planet moves faster nearer to the sun. Thus: $A_1=A_2$.}
354
355
356 \subsection{Kepler's 3rd Law}
357 Further researches leaded Kepler to his famous third Law of planet's movements,
358 in 1619 published in »\textit{Harmonices Mundi Libri V}«.~\parencite{kepler1619joannis}
359
360 \begin{otherlanguage}{ngerman}
361 »Allein es ist ganz sicher und stimmt vollkommen, dass die Proportion, die
362 zwischen den Umlaufzeiten irgendzweier Planenten besteht, genau das Anderthalbe
363 der Proportion der mittleren Abst\"{a}nde, d.\,h. der Bahnen selber, ist.«
364 \end{otherlanguage}
365
366 In other words:
367
368 \textit{The squares of the periods $T$ of the planets are proportional t
369 o the cubes of their semi-major axes $a$.}
370
371 Brought into a mathematical formula:
372 \begin{equation*}
373 \dfrac{T^2}{a^3}=\text{const.}
374 \end{equation*}
375 The Third Law describes the complex relation between period and the distance to the sun.
376
377 The following table shows the relation:
378 \begin{itemize}
379 \item $T$ measured as a multiple of an Earth year.
380 \item $a$ measured as a multiple of the distance Earth--Sun.
381 \end{itemize}
382 \begin{tabular}{lrrrr}
383 \Index{Planet} & $T$ & $T^2$ & $a$ & $a^3$\\\hline
384 \Index{Mercury} & 0,241 & 0,058 & 0,387 & 0,058\\
385 \Index{Venus} & 0,615 & 0,378 & 0,723 & 0,378\\
386 \Index{Earth} & 1,000 & 1,000 & 1,000 & 1,000\\
387 \Index{Mars} & 1,881 & 3,538 & 1,524 & 3,540\\
388 \Index{Jupiter} & 11,860 & 140,660 & 5,203 & 140,852\\
389 \Index{Saturn} & 29,460 & 867,892 & 9,539 & 867,978\\
390 \end{tabular}
391
392
393
394
395 \begin{center}
396 %\includegraphics[scale=0.75]{loglog_engl}
397 \end{center}
398
399
400 \section{Background informations}
401 \subsection{John Banville}
402 In his book »Kepler« (1981), \NameIndex{John Banville} imagines how the idea came to Kepler, pages
403 42 and 43 of the French edition, of which a German translation must exist.~\parencite{banville}
404
405 Perhaps he was mistaken, perhaps the universe was not an ordered construction
406 governed by immutable laws? Who knows if God, like his creatures, does not ultimately prefer the temporal to the eternal, the near-perfect to the perfect, children's trumpets and the frenzied bleating of disorder to the music of the spheres? But, no, no, despite these doubts, no: his God was above all a God of order. The universe obeys geometric laws because geometry embodies the earthly paradigm of divine thought.
407 He worked very late into the night, and went through the days swaying, in an ecstatic state. Summer came. He had been working non-stop for six months and had just reached the conclusion—if one could even call it a conclusion—that it was not so much the planets, their position and their speed, that he should concern himself with first, but the intervals between their orbits. If, for these distances, he possessed only Copernicus's estimates, which were scarcely more reliable than Ptolemy's, he nevertheless had to assume, for his own peace of mind, that they were precise enough to serve his purposes. Time and time again, he combined and recombined them in the hope of uncovering the relationship they concealed. Why were there only six planets? That was a question. But it was more pertinent to inquire into the distances that separated them. Why these distances and not others? He waited patiently for the rustling of wings.
408
409 On that July morning, though like so many other mornings, the angel appeared who brought him the answer. Johannes was in class. It was a hot and radiant day. A fly buzzed against the high window, a luminous diamond stood out on the floor at his feet. With glazed eyes, his students, petrified with boredom, stared at him without seeing him. Busy
410 demonstrating a theorem of \Index{Euclid}—though he tried afterward to remember which one, he
411 could not—he had drawn an equilateral triangle on the board. He seized the heavy wooden compass and, immediately, as always, that monstrosity pricked him. He put his injured thumb to his mouth, resumed his work, and began to draw two circles; the first, inscribed
412 inside the triangle, touched its three sides, while the second, circumscribed, encompassed it
413 and passed through its three vertices. He stepped back to the lozenge of dusty light, blinked, and
414 suddenly something, perhaps his heart, leaped, like an athlete performing a
415 feat on a trampoline; for no reason, he said to himself, ecstatically: I will live forever.
416 The proportion between the two circles was identical to that which existed between the orbits
417 of \Index{Saturn} and \Index{Jupiter}, the most distant planets, and behold, between the circles that
418 delimited this proportion was inscribed that basic figure which was the equilateral triangle
419 in geometry. And if we placed a square between the orbits of Jupiter and \Index{Mars}, a pentagon
420 between Mars and Earth, and between Earth and \Index{Venus} a \ldots\ Yes. Oh, yes.
421 The figure, the painting,
422 even the walls of the room melted into a shimmering liquid, and the students of young
423 Professor Kepler had the chance, a rare and gratifying spectacle, to see their master dab
424 his eyes and hear him blow his nose noisily into a handkerchief of dubious whiteness.
425
426
427
428 \subsection{Jacques Blamont}
429 In his book »The Number and the Dream«, Jacques Blamont~\parencite{blamont}
430 describes his “discovery” as follows:
431
432 Now, \Index{Euclid} showed that in three-dimensional space, only five solids (called Pythagorean)
433 exist whose faces are identical:
434 the tetrahedron (made up of four triangles),
435 the cube (four squares), the octahedron (eight triangles),
436 the dodecahedron (twelve pentagons), and the icosahedron (twenty triangles).
437 Their symmetry allows them to
438 be inscribed in a sphere (that is, their vertices are placed on it)
439 or to be circumscribed about a sphere (that is, their sides are tangent to it).
440 Five solids, five intervals between the planets!
441 This coincidence provided the immediate solution to the enigma of the number of planets
442 and the mystery of their distances; The radii of the spheres calculated by Copernicus
443 allowed the five solids to be placed between the spheres in the following order:
444
445 \medskip
446 Saturn-cube-Jupiter-tetrahedron-Mars-dodecahedron-Earth-icosahedron-Venus-octahedron-Mercury
447
448 \medskip
449 The numbers had to be stretched a bit, but overall the agreement was good, except for
450 Jupiter, »but no one will be surprised by that, given the great distance.« That's enough to make you forget
451 many boils. The twenty-three-year-old leaped onto his pen and wrote a book
452 which, despite its central error, was nonetheless a masterpiece, the Mysterium
453 cosmographicum, whose genesis we know thanks to its preface:
454
455
456
457 \begin{quotation}
458 »I did not yet clearly see in what order the perfect solids should be arranged, and
459 nevertheless I succeeded [\ldots] in arranging them so happily that later, when I checked these
460 arrangements, I had nothing to change. I no longer regretted the lost time; I was no longer
461 weary of my work; I shrank from no calculation, however difficult. Day and night,
462 I performed my calculations to see if the proposition I had just formulated agreed with the
463 orbits of Copernicus or if my joy would be carried away by the wind [\ldots].
464 In a few days,
465 everything was in place. I saw the symmetrical solids fit one after the other with such
466 precision between the appropriate orbits [\ldots] that if a peasant He asked, “On what hooks
467 are the heavens fixed so as not to fall? It would be easy to answer.
468 \end{quotation}
469
470 \clearpage
471
472 \section{The macros}
473 \subsection{World model}
474
475 \begin{codeblockA}[title=Show single Platonic solids]
476 \psKeplerModel[Options](x,y)
477 \end{codeblockA}
478
479 The coordinates for the center are also optional, because they are preset to $(0,0)$.
480
481 \begin{exampleA}{Kepler's world model}
482 \begin{pspicture}[showgrid](-3,-3)(3,3)
483 \psKeplerModel[Decran=25]
484 \end{pspicture}
485 \end{exampleA}
486
487 \begin{exampleA}{Tetrahedron Model}
488 \begin{pspicture}[showgrid](-2,-2)(2,2)
489 \psKeplerModel[type=tetrahedron,Decran=25]
490 \end{pspicture}
491 \end{exampleA}
492
493 \begin{exampleA}{Hexahedron Model}
494 \begin{pspicture}[showgrid](-2,-2)(2,2)
495 \psKeplerModel[type=hexahedron,Decran=25]
496 \end{pspicture}
497 \end{exampleA}
498
499 \begin{exampleA}{Octahedron Model}
500 \begin{pspicture}[showgrid](-2,-2)(2,2)
501 \psKeplerModel[type=octahedron,
502 viewpoint=50 -20 10 rtp2xyz, Decran=25]
503 \end{pspicture}
504 \end{exampleA}
505
506 \begin{exampleA}{Dodekahedron Model}
507 \begin{pspicture}[showgrid](-2,-2)(2,2)
508 \psKeplerModel[type=dodekahedron,Decran=25]
509 \end{pspicture}
510 \end{exampleA}
511
512 \begin{exampleA}{Icosahedron Model}
513 \begin{pspicture}[showgrid](-2,-2)(2,2)
514 \psKeplerModel[type=icosahedron,Decran=25]
515 \end{pspicture}
516 \end{exampleA}
517
518 \clearpage
519
520
521 \begin{codeblockA}[title=Show solids without a sphere]
522 \psKeplerShow[Options](x,y)
523 \end{codeblockA}
524
525
526 The coordinates for the center are also optional, because they are preset to $(0,0)$.
527 With this macro one can draw the five platonic solids. The scaling factor can
528 be changed by the optional arguments \Lkeyword{scaleTetra}, \Lkeyword{scaleHexa},
529 \Lkeyword{scaleOcta}, \ldots. The values are preset to 2, 4, 6, \ldots\
530 All boolean options for the solids are preset to true.
531 All five solids are shown if no optional argument is used.
532
533 \begin{exampleA}{title=Tetrahedron and Hexahedron}
534 \begin{pspicture}(-4,-4)(4,4)
535 \psKeplerShow[unit=0.8,
536 octahedron=false,
537 dodecahedron=false,
538 icosahedron=false]
539 \end{pspicture}
540 \end{exampleA}
541
542 \begin{exampleA}{title={Tetrahedron, Hexahedron, and Octahedron}}
543 \begin{pspicture}(-5,-5)(5,5)
544 \psKeplerShow[unit=0.5,
545 dodecahedron=false,
546 icosahedron=false,
547 scaleHexa=3.5, % was preset to 4
548 scaleOcta=5.5] % was preset to 6
549 \end{pspicture}
550 \end{exampleA}
551
552
553 \clearpage
554
555 \subsection{2nd Law}
556
557 The area computed by numerical integration\footnote{Simpson method with evaluations
558 points separated by about $\num{1}$ degrees} is evaluated to be $\Delta
559 A_{1/2} = \frac{1}{2}\int\limits_{\varphi_1}^{\varphi_2} (r(\varphi))^2
560 \mathrm{d}\varphi \approx \num{\xintDecToString{\xintfloateval{\AreaStart}}}$.
561 The exact value in this example is actually
562 $\xintTeXsignedFrac{\xinttheexpr reduce(\AreaFractionOfTotal/360)\relax}$
563 of the total ellipse area, i.\,e.
564 $\xintTeXsignedFrac{\xinttheexpr reduce(\AreaFractionOfTotal/360)\relax}
565 \mathcal{A} \approx
566 \num{\xintDecToString{\xintfloateval{Pi*a_el*b_el/(360/\AreaFractionOfTotal)}}}$.
567
568 \FloatEdef\AreaStart{
569 % spaces do not matter here...
570 AreaEllipseS(
571 \EKeplerphi,
572 \EKeplerIphi,
573 0.05
574 )
575 }%
576
577 The starting angle was $\varphi_1 = \num{\xintfloateval{\EKeplerphi}}^{\circ}$
578 and the ending angle $\varphi_2 = \num{\xintfloateval{\EKeplerIphi}}^{\circ}$ and
579 7 evaluation points were used. With evaluation points separated by a bit less
580 than $0.05^{\circ}$ ($115$ evaluation points) we gain almost 6 digits of
581 precision: $\Delta A_{1/2} \approx
582 \num{\xintDecToString{\xintfloateval{\AreaStart}}}$.%
583 \FloatEdef\EKepler{EKepler(0)}
584 \FloatEdef\EKeplerI{EKepler(\AreaFractionOfTotal)}
585 \FloatEdef\EKeplerphi{E_to_phi_Pol(\EKepler)}
586 \FloatEdef\EKeplerIphi{E_to_phi_Pol(\EKeplerI)}
587 \FloatEdef\AreaLater{
588 % spaces do not matter here...
589 AreaEllipseS(
590 \EKeplerphi,
591 \EKeplerIphi,
592 1
593 )
594 }%
595 Let's use now starting angle $\varphi_1 =
596 \num{\xintfloateval{\EKeplerphi}}^{\circ}$ and ending angle $\varphi_2 =
597 \num{\xintfloateval{\EKeplerIphi}}^{\circ}$ (itself computed approximately).
598 We obtain (using $135$ evaluations points)
599 $\frac{1}{2}\int\limits_{\varphi_1}^{\varphi_2} (r(\varphi))^2
600 \mathrm{d}\varphi \approx \num{\xintDecToString{\xintfloateval{\AreaLater}}}$.
601 This is, not surprisingly, less precise that our previous evaluation on a
602 shorter interval with comparable number of evaluation points.
603
604 The macro \Lcs{psKeplerAnimate} creates an inline \Index{PDF-animation} which can only
605 be viewed with the \Index{AdobeReader}. This document also comes with a \Index{GIF-animation}
606 which can be used as standalone image or as part of a webpage.
607
608
609 \begin{exampleM}{Kepler's 2nd law as animation}
610 \psKeplerAnimate % needs AdobeReader
611 \end{exampleM}
612
613 \printbibliography
614
615 \printindex
616 \end{document}
617