summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/exam-n/sample/cosmo1.tex
blob: a9e13b790bde5dc9396d948757ff5c8de634eb1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
\documentclass[compose]{exam-n}

\usepackage{graphics}
\graphicspath{{fig/}}

\begin{document}

\begin{question}{20}  \author{Reginald Q Whimsy}
% Have a blank line here, to check that the question number remains
% nicely lined up, even if there are lines between the environment
% opening and the text.

First, \emph{admire} the restful picture of a spiral in Fig.\ \ref{f:spiral},
included as a graphic.  Fully zenned up?  Then let us begin\dots.
\begin{figure}
\ifbigfont
  \includegraphics[width=\textwidth]{spiral}
\else
  \includegraphics{spiral}
\fi
\caption{\label{f:spiral}A spiral}
\end{figure}

\part Show that, under the action of \textsf{gravity} alone, the scale size
of the Universe (which we should note is larger than \SI1m in
diameter and more massive than \SI{10}{kg}) varies according to
\begin{equation}
\ddot{R}=-\frac{4\pi G \rho_0}{3R^2}
\partmarks[demonstration]{4}
\end{equation}
and that, consequently,
\begin{equation*}
\dot{R}^2=-\frac{8\pi G \rho_0}{3R}=-K.
\partmarks[another remarkably long remark]{3}
\end{equation*}

Express $K$ in terms of the present values of the Hubble constant
$H_0$ and of the density parameter $\Omega_0$.
\partmarks[bookwork from a very long and boring book, which goes on
  and on at really quite unreasonable length, line after line,
  until the reader is adequately cudgelled into intellectual
  submission]{3}
\begin{solution}
This can be solved by \emph{remembering} the solution
\partmarks{3}
\end{solution}

\part In the early Universe, the relation between time and
temperature has the form
\begin{equation*}
t=\sqrt{\frac{3c^2}{16\pi G g_{\rm eff}a}}\frac{1}{T^2},
\end{equation*}
where $a$  is the radiation constant. Discuss the assumptions
leading to this equation, but do not carry out the mathematical
derivation.  Discuss the meaning of the factor $g_{\rm eff}$ , and
find its value just before and after annihilation of electrons and
positrons.
\partmarks{6}
\begin{solution}
Before, well, geee; after\dots kazamm!
\end{solution}

\part
Explain how the present-day neutron/proton ratio was established
by particle interactions in the Early Universe. How is the ratio
of deuterium to helium relevant to the nature of dark matter?  It is
\emph{crucially vital} to note
that Table~\ref{t:dullness} is of absolutely no relevance to this question.
\begin{table}
\begin{tabular}{r|l}
Column 1&and row 1\\
More content&in row 2
\end{tabular}
\caption{\label{t:dullness}A remarkably dull table}
\end{table}
Finis.
\begin{questiondata}
Hubble's law: $v=H_0 D$
\end{questiondata}
\partmarks{4}
% Test uprightness of \pi
All is geometry: $\mathrm e^{\mathrm{i}\pi} = -1^{x^x}, \forall x=1$, or $E=mc^2$.
% and that \vec produces italic bold, in greek as well as roman
That includes vectors: $\vec v=\Diffl*{\vec x}t + \vec\gamma$.
\begin{solution}
  \tracingmacros=2 \tracingcommands=2
Explanations are superfluous;\partmarks1 all that is, is.
  \tracingmacros=0 \tracingcommands=0
\begin{table}
\begin{tabular}{r|l}
First rows&are premier\\
subsequent rows&are of secondary interest
\end{tabular}
\caption{\label{t:dullnessII}A table o'erbrimming with otioseness}
\end{table}
In addition, Table~\ref{t:dullnessII} adds nothing to the discussion,\partmarks{1}
and adds nothing to our understanding of our place in the cosmos, but it
\emph{does} contribute slightly to the heat-death of the universe (can
you work out how many deuterium nuclei decayed during the typing of
this table?).\partmarks1

All is geometry\partmarks1 (in here, too): $\mathrm e^{\mathrm{i}\pi} = -1^{x^x}, \forall x=1$,
or $E=mc^2$, or
\begin{align*}
\mathrm e^{\mathrm{i}\pi} &= \cos\pi + i \sin\pi = -1^{x^x}\\
E&= mc^2\qquad\text{inevitably}.
\end{align*}
\end{solution}
\end{question}
\end{document}

Here are some further ramblings & rantings.  This text should be ignored.