Debian Codegraph @

texmf-dist/doc/latex/exam-n/sample/cosmo1.tex

raw
1 \documentclass[compose]{exam-n}
2
3 \usepackage{graphics}
4 \graphicspath{{fig/}}
5
6 \begin{document}
7
8 \begin{question}{20} \author{Reginald Q Whimsy}
9 % Have a blank line here, to check that the question number remains
10 % nicely lined up, even if there are lines between the environment
11 % opening and the text.
12
13 First, \emph{admire} the restful picture of a spiral in Fig.\ \ref{f:spiral},
14 included as a graphic. Fully zenned up? Then let us begin\dots.
15 \begin{figure}
16 \ifbigfont
17 \includegraphics[width=\textwidth]{spiral}
18 \else
19 \includegraphics{spiral}
20 \fi
21 \caption{\label{f:spiral}A spiral}
22 \end{figure}
23
24 \part Show that, under the action of \textsf{gravity} alone, the scale size
25 of the Universe (which we should note is larger than \SI1m in
26 diameter and more massive than \SI{10}{kg}) varies according to
27 \begin{equation}
28 \ddot{R}=-\frac{4\pi G \rho_0}{3R^2}
29 \partmarks[demonstration]{4}
30 \end{equation}
31 and that, consequently,
32 \begin{equation*}
33 \dot{R}^2=-\frac{8\pi G \rho_0}{3R}=-K.
34 \partmarks[another remarkably long remark]{3}
35 \end{equation*}
36
37 Express $K$ in terms of the present values of the Hubble constant
38 $H_0$ and of the density parameter $\Omega_0$.
39 \partmarks[bookwork from a very long and boring book, which goes on
40 and on at really quite unreasonable length, line after line,
41 until the reader is adequately cudgelled into intellectual
42 submission]{3}
43 \begin{solution}
44 This can be solved by \emph{remembering} the solution
45 \partmarks{3}
46 \end{solution}
47
48 \part In the early Universe, the relation between time and
49 temperature has the form
50 \begin{equation*}
51 t=\sqrt{\frac{3c^2}{16\pi G g_{\rm eff}a}}\frac{1}{T^2},
52 \end{equation*}
53 where $a$ is the radiation constant. Discuss the assumptions
54 leading to this equation, but do not carry out the mathematical
55 derivation. Discuss the meaning of the factor $g_{\rm eff}$ , and
56 find its value just before and after annihilation of electrons and
57 positrons.
58 \partmarks{6}
59 \begin{solution}
60 Before, well, geee; after\dots kazamm!
61 \end{solution}
62
63 \part
64 Explain how the present-day neutron/proton ratio was established
65 by particle interactions in the Early Universe. How is the ratio
66 of deuterium to helium relevant to the nature of dark matter? It is
67 \emph{crucially vital} to note
68 that Table~\ref{t:dullness} is of absolutely no relevance to this question.
69 \begin{table}
70 \begin{tabular}{r|l}
71 Column 1&and row 1\\
72 More content&in row 2
73 \end{tabular}
74 \caption{\label{t:dullness}A remarkably dull table}
75 \end{table}
76 Finis.
77 \begin{questiondata}
78 Hubble's law: $v=H_0 D$
79 \end{questiondata}
80 \partmarks{4}
81 % Test uprightness of \pi
82 All is geometry: $\mathrm e^{\mathrm{i}\pi} = -1^{x^x}, \forall x=1$, or $E=mc^2$.
83 % and that \vec produces italic bold, in greek as well as roman
84 That includes vectors: $\vec v=\Diffl*{\vec x}t + \vec\gamma$.
85 \begin{solution}
86 \tracingmacros=2 \tracingcommands=2
87 Explanations are superfluous;\partmarks1 all that is, is.
88 \tracingmacros=0 \tracingcommands=0
89 \begin{table}
90 \begin{tabular}{r|l}
91 First rows&are premier\\
92 subsequent rows&are of secondary interest
93 \end{tabular}
94 \caption{\label{t:dullnessII}A table o'erbrimming with otioseness}
95 \end{table}
96 In addition, Table~\ref{t:dullnessII} adds nothing to the discussion,\partmarks{1}
97 and adds nothing to our understanding of our place in the cosmos, but it
98 \emph{does} contribute slightly to the heat-death of the universe (can
99 you work out how many deuterium nuclei decayed during the typing of
100 this table?).\partmarks1
101
102 All is geometry\partmarks1 (in here, too): $\mathrm e^{\mathrm{i}\pi} = -1^{x^x}, \forall x=1$,
103 or $E=mc^2$, or
104 \begin{align*}
105 \mathrm e^{\mathrm{i}\pi} &= \cos\pi + i \sin\pi = -1^{x^x}\\
106 E&= mc^2\qquad\text{inevitably}.
107 \end{align*}
108 \end{solution}
109 \end{question}
110 \end{document}
111
112 Here are some further ramblings & rantings. This text should be ignored.