summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/schule/doc/fachPhysik.tex
blob: af7ca9480cfd70359670ca21acf54a577e3a4dd3 (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
\section{Physik}
    \label{fach:physik}
    Das Paket \module{Physik} bindet die Pakete \pkg{units}, \pkg{circuitikz} und \pkg{mhchem}. ein, so dass Formeln und Schaltpläne gesetzt werden können. Außerdem werden in diesem Modul Standardkonstanten für Formeln definiert.

    Durch das Einbinden des Pakets \pkg{ziffer} wird dafür gesorgt, dass das im deutschen gebräuchliche Komma bei Zahlen richtig gesetzt wird. \sinceversion{0.8.3}

    \subsection{Konstanten}
    Sehr regelmäßig müssen in Formeln physikalische Konstanten eingesetzt werden. Einige werden im Paket definiert, um die Eingabe zu erleichtern. \sinceversion{0.8.3}
    \begin{commands}
        \command{elementarladung} Die Elementarladung mit \(\elementarladung\).
        \command{plankscheEV} Das planksche Wirkungsquantum mit \(\plankscheEV\).
        \command{plankscheJ} Das planksche Wirkungsquantum mit \(\plankscheJ\).
        \command{elektronenmasse} Die Masse eines Elektrons mit \(\elektronenmasse\).
        \command{protonenmasse} Die Masse eines Protons mit \(\protonenmasse\).

        \begin{example}[gobble=12]
            \[ v = \sqrt{\frac{2 \cdot U\cdot Q}{m}} \]
            \[ v = \sqrt{\frac{2 \cdot \unit[15000]{V} \cdot \elementarladung}{\protonenmasse}} = \unitfrac[1,70 \cdot 10^{6}]{m}{s} \]
        \end{example}

    \end{commands}

    \subsection{Schaltpläne}
    An dieser Stelle ein Beispiel für einen Schaltplan mit \pkg{circuitikz}:
\begin{example}[gobble=0]
\begin{circuitikz}
  \draw
    (0,0)--(1,0) to[european resistor,l=$47$\,k$\Omega$] (3,0)--(5,0)
    to[C, l=$470$\,$\mu$F] (7,0) -- (8,0)
    (4.5,0) to[short, -*] (4.5,0) -- (4.5, -2)
    (4.5,-2) -- (5,-2) to[voltmeter, l=$U_C$] (7,-2) -- (7.5,-2)
    (7.5, -2) to[short, -*] (7.5,0)
    (8,1) node[spdt, rotate=90] (Ums) {}
    (Ums) node[right=0.4cm] {$WS$}
    (Ums.out 1) node[left] {1}
    (Ums.out 2) node[right] {2}
    (0,0) |- (2,4) to[closing switch, l=$S$] (3,4) to[battery1,
    l=$U$] (5,4) -| (Ums.out 2)
    (Ums.in) -- (8,0)
    (Ums.out 1) |- (0,2) to[short, -*] (0,2)
  ;
\end{circuitikz}
\end{example}