diff options
author | Andreas Müller <andreas.mueller@ost.ch> | 2021-12-09 16:59:08 +0100 |
---|---|---|
committer | Andreas Müller <andreas.mueller@ost.ch> | 2021-12-09 16:59:08 +0100 |
commit | bd95a05c1c036bb4b8f24d6309922f18804255c9 (patch) | |
tree | 232fcf9198dcdd9863a4a991d5020ea8fe792899 /buch/chapters/090-pde/images | |
parent | fix resolution of airy graphs (diff) | |
download | SeminarSpezielleFunktionen-bd95a05c1c036bb4b8f24d6309922f18804255c9.tar.gz SeminarSpezielleFunktionen-bd95a05c1c036bb4b8f24d6309922f18804255c9.zip |
Eigenwertproblem auf dem Rechteck
Diffstat (limited to '')
-rw-r--r-- | buch/chapters/090-pde/images/Makefile | 7 | ||||
-rw-r--r-- | buch/chapters/090-pde/images/rechteck.pdf | bin | 0 -> 18505 bytes | |||
-rw-r--r-- | buch/chapters/090-pde/images/rechteck.tex | 80 |
3 files changed, 87 insertions, 0 deletions
diff --git a/buch/chapters/090-pde/images/Makefile b/buch/chapters/090-pde/images/Makefile new file mode 100644 index 0000000..9ae1a36 --- /dev/null +++ b/buch/chapters/090-pde/images/Makefile @@ -0,0 +1,7 @@ +# +# Makefile +# +# (c) 2021 Prof Dr Andreas Müller, OST Ostschweizer Fachhochschule +# +rechteck.pdf: rechteck.tex + pdflatex rechteck.tex diff --git a/buch/chapters/090-pde/images/rechteck.pdf b/buch/chapters/090-pde/images/rechteck.pdf Binary files differnew file mode 100644 index 0000000..12a1672 --- /dev/null +++ b/buch/chapters/090-pde/images/rechteck.pdf diff --git a/buch/chapters/090-pde/images/rechteck.tex b/buch/chapters/090-pde/images/rechteck.tex new file mode 100644 index 0000000..e7ba3c7 --- /dev/null +++ b/buch/chapters/090-pde/images/rechteck.tex @@ -0,0 +1,80 @@ +% +% rechteck.tex -- template for standalon tikz images +% +% (c) 2021 Prof Dr Andreas Müller, OST Ostschweizer Fachhochschule +% +\documentclass[tikz]{standalone} +\usepackage{amsmath} +\usepackage{times} +\usepackage{txfonts} +\usepackage{pgfplots} +\usepackage{csvsimple} +\usetikzlibrary{arrows,intersections,math} +\begin{document} +\def\skala{1} +\begin{tikzpicture}[>=latex,thick,scale=\skala] + +\def\a{12} +\def\b{8} + +\def\k{9} +\pgfmathparse{\k-1} +\xdef\kmax{\pgfmathresult} +\def\l{4} +\pgfmathparse{\l-1} +\xdef\lmax{\pgfmathresult} + +\pgfmathparse{\a/\k} +\xdef\dx{\pgfmathresult} +\pgfmathparse{\b/\l} +\xdef\dy{\pgfmathresult} + +\begin{scope} +\clip (0,0) rectangle (\a,\b); +\fill[color=red!20] (0,0) rectangle (\a,\b); + +\foreach \kl in {0,2,...,\lmax}{ + \foreach \ki in {0,2,...,\kmax}{ + \fill[color=blue!20] + ({\ki*\dx},{\kl*\dy}) rectangle + ({(\ki+1)*\dx},{(\kl+1)*\dy}); + } +} + +\foreach \kl in {1,3,...,\lmax}{ + \foreach \ki in {1,3,...,\kmax}{ + \fill[color=blue!20] + ({\ki*\dx},{\kl*\dy}) rectangle + ({(\ki+1)*\dx},{(\kl+1)*\dy}); + } +} + +\end{scope} + +\draw (0,0) rectangle (\a,\b); + +\foreach \ki in {1,...,\kmax}{ + \draw[line width=0.2pt] ({\ki*\dx},0) -- ({\ki*\dx},\b); +} +\foreach \li in {1,...,\lmax}{ + \draw[line width=0.2pt] (0,{\li*\dy}) -- (\a,{\li*\dy}); +} + +\draw (\a,-0.1) -- (\a,0.1); +\draw ({\a/\k},-0.1) -- ({\a/\k},0.1); +\node at (\a,0) [below] {$\mathstrut a$}; +\node at ({\a/\k},0) [below] {$\mathstrut a/k$}; +\draw (-0.1,\b) -- (0.1,\b); +\draw (-0.1,{\b/\l}) -- (0.1,{\b/\l}); +\node at (0,\b) [left] {$\mathstrut b$}; +\node at (0,{\b/\l}) [left] {$\mathstrut b/l$}; + +\draw[->] (-0.1,0) -- ({\a+0.7},0) coordinate[label={$x$}]; +\draw[->] (0,-0.1) -- (0,{\b+0.7}) coordinate[label={right:$y$}]; + +\node at ({\a/2},\b) [above] {$k=\k$}; +\node at (\a,{\b/2}) [above,rotate=-90] {$l=\l$}; + +\end{tikzpicture} +\end{document} + |