Compare commits
5 Commits
tut5-v1.1
...
15ca83ca76
| Author | SHA1 | Date | |
|---|---|---|---|
| 15ca83ca76 | |||
| a1fb10842d | |||
| 081cad7f11 | |||
| 9f422f859e | |||
| c23ac95b90 |
@@ -1,4 +1,3 @@
|
|||||||
$pdflatex="pdflatex -shell-escape -interaction=nonstopmode -synctex=1 %O %S";
|
$pdflatex="pdflatex -shell-escape -interaction=nonstopmode -synctex=1 %O %S";
|
||||||
$out_dir = 'build';
|
$out_dir = 'build';
|
||||||
$pdf_mode = 1;
|
$pdf_mode = 1;
|
||||||
|
|
||||||
|
|||||||
16
Makefile
16
Makefile
@@ -1,19 +1,25 @@
|
|||||||
PRESENTATIONS := $(patsubst src/%/presentation.tex,build/presentation_%.pdf,$(wildcard src/*/presentation.tex))
|
PRESENTATIONS := $(patsubst src/%/presentation.tex,build/presentation_%.pdf,$(wildcard src/*/presentation.tex))
|
||||||
HANDOUTS := $(patsubst build/presentation_%.pdf,build/presentation_%_handout.pdf,$(PRESENTATIONS))
|
HANDOUTS := $(patsubst build/presentation_%.pdf,build/presentation_%_handout.pdf,$(PRESENTATIONS))
|
||||||
|
|
||||||
|
RC_PDFLATEX := $(shell grep '$$pdflatex' .latexmkrc \
|
||||||
|
| sed -e 's/.*"\(.*\)".*/\1/' -e 's/%S//' -e 's/%O//')
|
||||||
|
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
all: $(PRESENTATIONS) $(HANDOUTS)
|
all: $(PRESENTATIONS) $(HANDOUTS)
|
||||||
|
|
||||||
build/presentation_%.pdf: src/%/presentation.tex build/prepared
|
build/presentation_%.pdf: src/%/presentation.tex build/prepared
|
||||||
TEXINPUTS=./lib/cel-slides-template-2025:$$TEXINPUTS latexmk $<
|
TEXINPUTS=./lib/cel-slides-template-2025:$(dir $<):$$TEXINPUTS \
|
||||||
mv build/presentation.pdf $@
|
latexmk -outdir=build/$* $<
|
||||||
|
cp build/$*/presentation.pdf $@
|
||||||
|
|
||||||
build/presentation_%_handout.pdf: src/%/presentation.tex build/prepared
|
build/presentation_%_handout.pdf: src/%/presentation.tex build/prepared
|
||||||
TEXINPUTS=./lib/cel-slides-template-2025:$$TEXINPUTS latexmk -pdflatex='pdflatex %O "\def\ishandout{1}\input{%S}"' $<
|
TEXINPUTS=./lib/cel-slides-template-2025:$(dir $<):$$TEXINPUTS \
|
||||||
mv build/presentation.pdf $@
|
latexmk -outdir=build/$*_handout \
|
||||||
|
-pdflatex='$(RC_PDFLATEX) %O "\def\ishandout{1}\input{%S}"' $<
|
||||||
|
cp build/$*_handout/presentation.pdf $@
|
||||||
|
|
||||||
build/prepared:
|
build/prepared:
|
||||||
mkdir -p build
|
mkdir build
|
||||||
touch build/prepared
|
touch build/prepared
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
|
|||||||
@@ -30,7 +30,10 @@
|
|||||||
\usepackage{tikz}
|
\usepackage{tikz}
|
||||||
\usepackage{tikz-3dplot}
|
\usepackage{tikz-3dplot}
|
||||||
\usetikzlibrary{spy, external, intersections, positioning}
|
\usetikzlibrary{spy, external, intersections, positioning}
|
||||||
%\tikzexternalize[prefix=build/]
|
|
||||||
|
\ifdefined\ishandout\else
|
||||||
|
\tikzexternalize
|
||||||
|
\fi
|
||||||
|
|
||||||
\usepackage{pgfplots}
|
\usepackage{pgfplots}
|
||||||
\pgfplotsset{compat=newest}
|
\pgfplotsset{compat=newest}
|
||||||
@@ -139,7 +142,7 @@
|
|||||||
\end{gather*}
|
\end{gather*}
|
||||||
\vspace*{-2mm}
|
\vspace*{-2mm}
|
||||||
\begin{gather*}
|
\begin{gather*}
|
||||||
P_X(k) = \frac{\lambda^k}{k!}e^{-\lambda} \\[2mm]
|
P_X(n) = \frac{\lambda^n}{n!}e^{-\lambda} \\[2mm]
|
||||||
\phi_X(s) = \text{exp}\left(\lambda (e^{js} -1)\right)
|
\phi_X(s) = \text{exp}\left(\lambda (e^{js} -1)\right)
|
||||||
\end{gather*}
|
\end{gather*}
|
||||||
\vspace*{-2mm}
|
\vspace*{-2mm}
|
||||||
@@ -160,7 +163,7 @@
|
|||||||
\vspace*{-6mm}
|
\vspace*{-6mm}
|
||||||
\begin{gather*}
|
\begin{gather*}
|
||||||
X \sim \text{Poisson}(\lambda) \\[3mm]
|
X \sim \text{Poisson}(\lambda) \\[3mm]
|
||||||
P_X(k) = \frac{\lambda^k \cdot e^{-\lambda}}{k!} \\[4mm]
|
P_X(n) = \frac{\lambda^n \cdot e^{-\lambda}}{n!} \\[4mm]
|
||||||
\phi_X(s) = \text{exp}\left(\lambda (e^{js} -1)\right)
|
\phi_X(s) = \text{exp}\left(\lambda (e^{js} -1)\right)
|
||||||
\end{gather*}
|
\end{gather*}
|
||||||
\end{greenblock}
|
\end{greenblock}
|
||||||
@@ -168,7 +171,7 @@
|
|||||||
\vspace*{-6mm}
|
\vspace*{-6mm}
|
||||||
\begin{gather*}
|
\begin{gather*}
|
||||||
\nsum_{k=0}^{n} \binom{n}{k}a^k b^{n-k} = (a+b)^n, \hspace{15mm}
|
\nsum_{k=0}^{n} \binom{n}{k}a^k b^{n-k} = (a+b)^n, \hspace{15mm}
|
||||||
\binom{n}{k} = \frac{n!}{(n-k!)k!}
|
\binom{n}{k} = \frac{n!}{(n-k)!k!}
|
||||||
\end{gather*}
|
\end{gather*}
|
||||||
\end{greenblock}
|
\end{greenblock}
|
||||||
\column{\kitthreecolumns}
|
\column{\kitthreecolumns}
|
||||||
@@ -228,11 +231,11 @@
|
|||||||
zweier Zufallsvariablen.
|
zweier Zufallsvariablen.
|
||||||
\pause\begin{gather*}
|
\pause\begin{gather*}
|
||||||
X \sim \text{Poisson}(\lambda_1) \hspace{3mm}
|
X \sim \text{Poisson}(\lambda_1) \hspace{3mm}
|
||||||
\Leftrightarrow \hspace{3mm} P_X(k)
|
\Leftrightarrow \hspace{3mm} P_X(n)
|
||||||
= \frac{\lambda_1^k \cdot e^{-\lambda_1}}{k!} \hspace{30mm}
|
= \frac{\lambda_1^n \cdot e^{-\lambda_1}}{n!} \hspace{30mm}
|
||||||
Y \sim \text{Poisson}(\lambda_2) \hspace{3mm}
|
Y \sim \text{Poisson}(\lambda_2) \hspace{3mm}
|
||||||
\Leftrightarrow \hspace{3mm} P_Y(k)
|
\Leftrightarrow \hspace{3mm} P_Y(n)
|
||||||
= \frac{\lambda_2^k \cdot e^{-\lambda_2}}{k!}
|
= \frac{\lambda_2^n \cdot e^{-\lambda_2}}{n!}
|
||||||
\end{gather*}
|
\end{gather*}
|
||||||
\pause\begin{align*}
|
\pause\begin{align*}
|
||||||
P_Z(n) &= P_{X+Y}(n) = \nsum_{k=0}^{n} P_X(k)P_Y(n-k)
|
P_Z(n) &= P_{X+Y}(n) = \nsum_{k=0}^{n} P_X(k)P_Y(n-k)
|
||||||
@@ -416,7 +419,7 @@
|
|||||||
\begin{lightgrayhighlightbox}
|
\begin{lightgrayhighlightbox}
|
||||||
Erinnerung: Unabhängige Ereignisse
|
Erinnerung: Unabhängige Ereignisse
|
||||||
\begin{align*}
|
\begin{align*}
|
||||||
X,Y \text{ \normalfont unabhängig}
|
A,B \text{ \normalfont unabhängig}
|
||||||
\hspace{5mm} \Leftrightarrow \hspace{5mm}
|
\hspace{5mm} \Leftrightarrow \hspace{5mm}
|
||||||
P(AB) = P(A)P(B)
|
P(AB) = P(A)P(B)
|
||||||
\end{align*}
|
\end{align*}
|
||||||
@@ -436,7 +439,8 @@
|
|||||||
\begin{lightgrayhighlightbox}
|
\begin{lightgrayhighlightbox}
|
||||||
Erinnerung: Varianz
|
Erinnerung: Varianz
|
||||||
\begin{align*}
|
\begin{align*}
|
||||||
V(X) = E\big( \left(X - E(X)\right)^2 \big) = E(X^2) - E^2(X)
|
V(X) = E\big( \left(X - E(X)\right)^2 \big) =
|
||||||
|
E(X^2) - E^2(X)
|
||||||
\end{align*}
|
\end{align*}
|
||||||
\vspace*{-13mm}
|
\vspace*{-13mm}
|
||||||
\end{lightgrayhighlightbox}
|
\end{lightgrayhighlightbox}
|
||||||
|
|||||||
272
src/2026-01-30/presentation.tex
Normal file
272
src/2026-01-30/presentation.tex
Normal file
@@ -0,0 +1,272 @@
|
|||||||
|
\ifdefined\ishandout
|
||||||
|
\documentclass[de, handout]{CELbeamer}
|
||||||
|
\else
|
||||||
|
\documentclass[de]{CELbeamer}
|
||||||
|
\fi
|
||||||
|
|
||||||
|
%
|
||||||
|
%
|
||||||
|
% CEL Template
|
||||||
|
%
|
||||||
|
%
|
||||||
|
|
||||||
|
\newcommand{\templates}{preambles}
|
||||||
|
\input{\templates/packages.tex}
|
||||||
|
\input{\templates/macros.tex}
|
||||||
|
|
||||||
|
\grouplogo{CEL_logo.pdf}
|
||||||
|
|
||||||
|
\groupname{Communication Engineering Lab (CEL)}
|
||||||
|
\groupnamewidth{80mm}
|
||||||
|
|
||||||
|
\fundinglogos{}
|
||||||
|
|
||||||
|
%
|
||||||
|
%
|
||||||
|
% Document setup
|
||||||
|
%
|
||||||
|
%
|
||||||
|
|
||||||
|
\usepackage{tikz}
|
||||||
|
\usepackage{tikz-3dplot}
|
||||||
|
\usetikzlibrary{spy, external, intersections, positioning}
|
||||||
|
|
||||||
|
% \ifdefined\ishandout\else
|
||||||
|
% \tikzexternalize
|
||||||
|
% \fi
|
||||||
|
|
||||||
|
\usepackage{pgfplots}
|
||||||
|
\pgfplotsset{compat=newest}
|
||||||
|
\usepgfplotslibrary{fillbetween}
|
||||||
|
\usepgfplotslibrary{groupplots}
|
||||||
|
|
||||||
|
\usepackage{enumerate}
|
||||||
|
\usepackage{listings}
|
||||||
|
\usepackage{subcaption}
|
||||||
|
\usepackage{bbm}
|
||||||
|
\usepackage{multirow}
|
||||||
|
\usepackage{xcolor}
|
||||||
|
\usepackage{amsmath}
|
||||||
|
\usepackage{graphicx}
|
||||||
|
\usepackage{calc}
|
||||||
|
\usepackage{amssymb}
|
||||||
|
|
||||||
|
\title{WT Tutorium 6}
|
||||||
|
\author[Tsouchlos]{Andreas Tsouchlos}
|
||||||
|
\date[]{30. Januar 2026}
|
||||||
|
|
||||||
|
%
|
||||||
|
%
|
||||||
|
% Custom commands
|
||||||
|
%
|
||||||
|
%
|
||||||
|
|
||||||
|
\input{lib/latex-common/common.tex}
|
||||||
|
\pgfplotsset{colorscheme/rocket}
|
||||||
|
|
||||||
|
\newcommand{\res}{src/2026-01-16/res}
|
||||||
|
|
||||||
|
\newlength{\depthofsumsign}
|
||||||
|
\setlength{\depthofsumsign}{\depthof{$\sum$}}
|
||||||
|
\newlength{\totalheightofsumsign}
|
||||||
|
\newcommand{\nsum}[1][1.4]{
|
||||||
|
\mathop{
|
||||||
|
\raisebox
|
||||||
|
{-#1\depthofsumsign+1\depthofsumsign}
|
||||||
|
{\scalebox
|
||||||
|
{#1}
|
||||||
|
{$\displaystyle\sum$}%
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
% \tikzstyle{every node}=[font=\small]
|
||||||
|
% \captionsetup[sub]{font=small}
|
||||||
|
|
||||||
|
\newlength{\hght}
|
||||||
|
\newlength{\wdth}
|
||||||
|
|
||||||
|
\newcommand{\canceltotikz}[3][.5ex]{
|
||||||
|
\setlength{\hght}{\heightof{$#3$}}
|
||||||
|
\setlength{\wdth}{\widthof{$#3$}}
|
||||||
|
\makebox[0pt][l]{
|
||||||
|
\tikz[baseline]{\draw[-latex](0,-#1)--(\wdth,\hght+#1)
|
||||||
|
node[shift={(1mm,.5mm)}]{#2};
|
||||||
|
}
|
||||||
|
}#3
|
||||||
|
}
|
||||||
|
|
||||||
|
%
|
||||||
|
%
|
||||||
|
% Document body
|
||||||
|
%
|
||||||
|
%
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
|
||||||
|
\begin{frame}[title white vertical, picture=images/IMG_7801-cut]
|
||||||
|
\titlepage
|
||||||
|
\end{frame}
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
\section{Aufgabe 1}
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
\subsection{Theorie Wiederholung}
|
||||||
|
|
||||||
|
% TODO: Write
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
\subsection{Aufgabe}
|
||||||
|
|
||||||
|
\begin{frame}
|
||||||
|
\frametitle{Aufgabe 1: Korrelationskoeffizienten}
|
||||||
|
|
||||||
|
Es ist die Zufallsvariable $X \sim \mathcal{N}(0,1)$ gegeben. Berechnen Sie
|
||||||
|
jeweils den Korrelationskoeffizienten $\rho_{XY}$ für
|
||||||
|
|
||||||
|
% tex-fmt: off
|
||||||
|
\begin{enumerate}[a{)}]
|
||||||
|
\item $Y = aX + b \hspace{8mm}\text{mit } a, b \in R
|
||||||
|
\text{ und } a \neq 0$.
|
||||||
|
\item $Y = X^2$.
|
||||||
|
\end{enumerate}
|
||||||
|
% tex-fmt: on
|
||||||
|
\end{frame}
|
||||||
|
|
||||||
|
\begin{frame}
|
||||||
|
\frametitle{Aufgabe 1: Korrelationskoeffizienten}
|
||||||
|
|
||||||
|
Es ist die Zufallsvariable $X \sim \mathcal{N}(0,1)$ gegeben. Berechnen Sie
|
||||||
|
jeweils den Korrelationskoeffizienten $\rho_{XY}$ für
|
||||||
|
|
||||||
|
% tex-fmt: off
|
||||||
|
\begin{enumerate}[a{)}]
|
||||||
|
\item $Y = aX + b \hspace{8mm}\text{mit } a, b \in R
|
||||||
|
\text{ und } a \neq 0$.
|
||||||
|
\pause \begin{gather*}
|
||||||
|
\rho_{XY} = \frac{\text{cov}(X,Y)}{\sqrt{V(X)V(Y)}}
|
||||||
|
\end{gather*}
|
||||||
|
\pause\begin{align*}
|
||||||
|
\text{cov}(X,Y) &= E(XY) - \canceltotikz[1ex]{0}{E(X)} E(Y)
|
||||||
|
= E(XY) \\
|
||||||
|
&= E(aX^2 + bX) = a\underbrace{E(X^2)}_{= V(X) = 1}
|
||||||
|
+ b\canceltotikz[1ex]{0}{E(X)} = a
|
||||||
|
\end{align*}
|
||||||
|
\pause\begin{gather*}
|
||||||
|
V(Y) = E\big( (Y - E(Y))^2 \big) = E\big( (aX)^2 \big)
|
||||||
|
= a^2 \underbrace{E(X^2)}_{= V(X) = 1} = a^2
|
||||||
|
\end{gather*}
|
||||||
|
\pause\begin{align*}
|
||||||
|
\rho_{XY} = \frac{a}{\sqrt{a^2}} = \frac{a}{\lvert a \rvert}
|
||||||
|
= \left\{ \begin{array}{c}
|
||||||
|
+1, \hspace{5mm} a > 0 \\
|
||||||
|
-1, \hspace{5mm} a < 0
|
||||||
|
\end{array}
|
||||||
|
\right.
|
||||||
|
\end{align*}
|
||||||
|
\end{enumerate}
|
||||||
|
% tex-fmt: on
|
||||||
|
\end{frame}
|
||||||
|
|
||||||
|
\begin{frame}
|
||||||
|
\frametitle{Aufgabe 1: Korrelationskoeffizienten}
|
||||||
|
|
||||||
|
Es ist die Zufallsvariable $X \sim \mathcal{N}(0,1)$ gegeben. Berechnen Sie
|
||||||
|
jeweils den Korrelationskoeffizienten $\rho_{XY}$ für
|
||||||
|
|
||||||
|
% tex-fmt: off
|
||||||
|
\begin{enumerate}[a{)}]
|
||||||
|
\setcounter{enumi}{1}
|
||||||
|
\item $Y = X^2$.
|
||||||
|
\pause \begin{gather*}
|
||||||
|
\rho_{XY} = \frac{\text{cov}(X,Y)}{\sqrt{V(X)V(Y)}}
|
||||||
|
\end{gather*}
|
||||||
|
\pause\begin{columns}
|
||||||
|
\column{\kitfourcolumns}
|
||||||
|
\centering
|
||||||
|
\begin{gather*}
|
||||||
|
\text{cov}(X,Y) = E(XY) - \canceltotikz[1ex]{0}{E(X)} E(Y)
|
||||||
|
= E(XY) = E(X^3)
|
||||||
|
\end{gather*}
|
||||||
|
\vspace*{-12mm}
|
||||||
|
\pause\begin{gather*}
|
||||||
|
\hspace*{-18mm} = \int_{-\infty}^{\infty}
|
||||||
|
\underbrace{x^3}_\text{ungerade}
|
||||||
|
\cdot\underbrace{f_X(x)}_\text{gerade} dx = 0 \\[7mm]
|
||||||
|
\rho_{XY} = 0
|
||||||
|
\end{gather*}
|
||||||
|
\column{\kittwocolumns}
|
||||||
|
\centering
|
||||||
|
\begin{figure}[H]
|
||||||
|
\centering
|
||||||
|
\begin{tikzpicture}
|
||||||
|
\begin{axis}[
|
||||||
|
domain=-3:3,
|
||||||
|
width=10cm,
|
||||||
|
height=6.5cm,
|
||||||
|
samples=100,
|
||||||
|
xtick={0},
|
||||||
|
ytick={0},
|
||||||
|
legend pos = south east,
|
||||||
|
legend cell align = left,
|
||||||
|
]
|
||||||
|
\addplot+[scol1, mark=none, line width=1pt]
|
||||||
|
{1 / sqrt(2*pi) * exp(-x^2)};
|
||||||
|
\addlegendentry{$f_X(x)$}
|
||||||
|
\addplot+[scol2, mark=none, line width=1pt]
|
||||||
|
{0.01 * x^3};
|
||||||
|
\addlegendentry{$x^3$}
|
||||||
|
\end{axis}
|
||||||
|
|
||||||
|
\node at (8.7, 4.7) {\footnotemark};
|
||||||
|
\end{tikzpicture}
|
||||||
|
\end{figure}
|
||||||
|
\end{columns}
|
||||||
|
\end{enumerate}
|
||||||
|
% tex-fmt: on
|
||||||
|
|
||||||
|
\footnotetext{Die zwei Kurven sind bezüglich der $y$-Achse
|
||||||
|
unterschiedlich skaliert.}
|
||||||
|
\end{frame}
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
\section{Aufgabe 2}
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
\subsection{Theorie Wiederholung}
|
||||||
|
|
||||||
|
% TODO: Write
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
\subsection{Aufgabe}
|
||||||
|
|
||||||
|
\begin{frame}
|
||||||
|
\frametitle{Aufgabe 2: Abschätzungen von Verteilungen (ZGWS)}
|
||||||
|
|
||||||
|
Im Werk einer Zahnradfabrik werden verschiedene
|
||||||
|
Präzisionsmetallteile gefertigt. Während einer
|
||||||
|
Schicht werden 5000 Stück eines Typs A hergestellt. Bei der
|
||||||
|
Qualitätskontrolle werden 3% dieser
|
||||||
|
Teile als defekt klassifiziert und aussortiert.
|
||||||
|
|
||||||
|
% tex-fmt: off
|
||||||
|
\begin{enumerate}[a{)}]
|
||||||
|
\item Berechnen Sie näherungsweise die Wahrscheinlichkeit dafür, dass
|
||||||
|
während einer Schicht zwischen $125$ und $180$ Teile aussortiert
|
||||||
|
werden.
|
||||||
|
\item Die aussortierten Teile werden nach Schichtende zur
|
||||||
|
Wiederverwertung in einem Kessel auf einmal eingeschmolzen. Wie
|
||||||
|
viele Teile muss der Kessel fassen, damit er mit einer
|
||||||
|
Wahrscheinlichkeit von min. $0{,}98$ nicht überfüllt ist?
|
||||||
|
\item Der Kessel fasse maximal $200$ Teile. Es sollen nun mehr als
|
||||||
|
$5000$ Teile pro Schicht hergestellt werden. Wie viele Teile
|
||||||
|
können maximal gefertigt werden, damit der Kessel mit einer
|
||||||
|
Wahrscheinlichkeit von $0,98$ nicht überfüllt ist?
|
||||||
|
\end{enumerate}
|
||||||
|
% tex-fmt: on
|
||||||
|
\end{frame}
|
||||||
|
% TODO: Write
|
||||||
|
|
||||||
|
\end{document}
|
||||||
|
|
||||||
Reference in New Issue
Block a user